Struct object::write::coff::Relocation
source · pub struct Relocation {
pub virtual_address: u32,
pub symbol: u32,
pub typ: u16,
}
Expand description
Native endian version of pe::ImageRelocation
.
Fields§
§virtual_address: u32
§symbol: u32
§typ: u16
Trait Implementations§
source§impl Clone for Relocation
impl Clone for Relocation
source§fn clone(&self) -> Relocation
fn clone(&self) -> Relocation
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 Relocation
impl Debug for Relocation
source§impl Default for Relocation
impl Default for Relocation
source§fn default() -> Relocation
fn default() -> Relocation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Relocation
impl RefUnwindSafe for Relocation
impl Send for Relocation
impl Sync for Relocation
impl Unpin for Relocation
impl UnwindSafe for Relocation
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
)