pub struct StandardRelocation {
pub address: u32,
pub symbol_num: u32,
pub pc_relative: bool,
pub length: u8,
pub is_extern: bool,
pub reloc_type: u8,
}Expand description
The StandardRelocation type.
Fields§
§address: u32The address field.
symbol_num: u32Symbol table index (if extern) or section ordinal (if not extern). 24 bits.
pc_relative: boolThe pc_relative field.
length: u8Log2 of the relocation size: 0=byte, 1=word, 2=long, 3=quad.
is_extern: boolThe is_extern field.
reloc_type: u8Architecture-specific relocation type. 4 bits.
Trait Implementations§
Source§impl Clone for StandardRelocation
impl Clone for StandardRelocation
impl Copy for StandardRelocation
Auto Trait Implementations§
impl Freeze for StandardRelocation
impl RefUnwindSafe for StandardRelocation
impl Send for StandardRelocation
impl Sync for StandardRelocation
impl Unpin for StandardRelocation
impl UnsafeUnpin for StandardRelocation
impl UnwindSafe for StandardRelocation
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