Expand description
A relocation in the .reloc
section of a PE file.
Fields
virtual_address: u32
The virtual address of the relocation.
typ: u16
One of the pe::IMAGE_REL_BASED_*
constants.
Trait Implementations
sourceimpl Clone for Relocation
impl Clone for Relocation
sourcefn clone(&self) -> Relocation
fn clone(&self) -> Relocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Relocation
impl Debug for Relocation
sourceimpl Default for Relocation
impl Default for Relocation
sourcefn default() -> Relocation
fn default() -> Relocation
Returns the “default value” for a type. Read more
impl Copy for Relocation
Auto Trait Implementations
impl RefUnwindSafe for Relocation
impl Send for Relocation
impl Sync for Relocation
impl Unpin for Relocation
impl UnwindSafe for Relocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more