pub struct CoffRelocation {
pub virtual_address: u32,
pub symbol_table_index: u32,
pub relocation_type: u16,
}Expand description
COFF relocation item
Represents an item that requires address relocation at link time. Relocation is the process of converting relative addresses to absolute addresses.
Fields§
§virtual_address: u32Virtual address that needs relocation
symbol_table_index: u32Symbol table index pointing to the related symbol
relocation_type: u16Relocation type, defining how to perform the relocation
Implementations§
Trait Implementations§
Source§impl Clone for CoffRelocation
impl Clone for CoffRelocation
Source§fn clone(&self) -> CoffRelocation
fn clone(&self) -> CoffRelocation
Returns a duplicate 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 CoffRelocation
impl Debug for CoffRelocation
Source§impl<'de> Deserialize<'de> for CoffRelocation
impl<'de> Deserialize<'de> for CoffRelocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CoffRelocation
impl Serialize for CoffRelocation
impl Copy for CoffRelocation
Auto Trait Implementations§
impl Freeze for CoffRelocation
impl RefUnwindSafe for CoffRelocation
impl Send for CoffRelocation
impl Sync for CoffRelocation
impl Unpin for CoffRelocation
impl UnsafeUnpin for CoffRelocation
impl UnwindSafe for CoffRelocation
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