pub struct ScatteredRelocation {
pub reloc_type: u8,
pub length: u8,
pub pc_relative: bool,
pub address: u32,
pub value: i32,
}Expand description
The ScatteredRelocation type.
Fields§
§reloc_type: u8Architecture-specific relocation type. 4 bits.
length: u8Log2 of the relocation size.
pc_relative: boolThe pc_relative field.
address: u32Offset within the section. 24 bits.
value: i32The value the relocation refers to (address of the symbol).
Trait Implementations§
Source§impl Clone for ScatteredRelocation
impl Clone for ScatteredRelocation
Source§fn clone(&self) -> ScatteredRelocation
fn clone(&self) -> ScatteredRelocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScatteredRelocation
Auto Trait Implementations§
impl Freeze for ScatteredRelocation
impl RefUnwindSafe for ScatteredRelocation
impl Send for ScatteredRelocation
impl Sync for ScatteredRelocation
impl Unpin for ScatteredRelocation
impl UnsafeUnpin for ScatteredRelocation
impl UnwindSafe for ScatteredRelocation
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