Struct gimli::LineEncoding
source · [−]pub struct LineEncoding {
pub minimum_instruction_length: u8,
pub maximum_operations_per_instruction: u8,
pub default_is_stmt: bool,
pub line_base: i8,
pub line_range: u8,
}
Expand description
Encoding parameters for a line number program.
Fields
minimum_instruction_length: u8
The size in bytes of the smallest target machine instruction.
maximum_operations_per_instruction: u8
The maximum number of individual operations that may be encoded in an instruction.
default_is_stmt: bool
The initial value of the is_stmt
register.
line_base: i8
The minimum value which a special opcode can add to the line register.
line_range: u8
The range of values which a special opcode can add to the line register.
Trait Implementations
sourceimpl Clone for LineEncoding
impl Clone for LineEncoding
sourcefn clone(&self) -> LineEncoding
fn clone(&self) -> LineEncoding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineEncoding
impl Debug for LineEncoding
sourceimpl Default for LineEncoding
impl Default for LineEncoding
sourceimpl Hash for LineEncoding
impl Hash for LineEncoding
sourceimpl PartialEq<LineEncoding> for LineEncoding
impl PartialEq<LineEncoding> for LineEncoding
sourcefn eq(&self, other: &LineEncoding) -> bool
fn eq(&self, other: &LineEncoding) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LineEncoding) -> bool
fn ne(&self, other: &LineEncoding) -> bool
This method tests for !=
.
impl Copy for LineEncoding
impl Eq for LineEncoding
impl StructuralEq for LineEncoding
impl StructuralPartialEq for LineEncoding
Auto Trait Implementations
impl RefUnwindSafe for LineEncoding
impl Send for LineEncoding
impl Sync for LineEncoding
impl Unpin for LineEncoding
impl UnwindSafe for LineEncoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more