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§
source§impl Clone for LineEncoding
impl Clone for LineEncoding
source§fn clone(&self) -> LineEncoding
fn clone(&self) -> LineEncoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LineEncoding
impl Debug for LineEncoding
source§impl Default for LineEncoding
impl Default for LineEncoding
source§impl Hash for LineEncoding
impl Hash for LineEncoding
source§impl PartialEq for LineEncoding
impl PartialEq for LineEncoding
impl Copy for LineEncoding
impl Eq for LineEncoding
impl StructuralPartialEq for LineEncoding
Auto Trait Implementations§
impl Freeze for LineEncoding
impl RefUnwindSafe for LineEncoding
impl Send for LineEncoding
impl Sync for LineEncoding
impl Unpin for LineEncoding
impl UnwindSafe for LineEncoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)