#[repr(C)]pub struct BaseRelocation {
pub virtual_address: u32,
pub size_of_block: u32,
}Fields§
§virtual_address: u32§size_of_block: u32Implementations§
Source§impl BaseRelocation
impl BaseRelocation
Sourcepub fn entry_count(&self) -> usize
pub fn entry_count(&self) -> usize
number of relocation entries in this block
Trait Implementations§
Source§impl Clone for BaseRelocation
impl Clone for BaseRelocation
Source§fn clone(&self) -> BaseRelocation
fn clone(&self) -> BaseRelocation
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 BaseRelocation
impl Debug for BaseRelocation
impl Copy for BaseRelocation
Auto Trait Implementations§
impl Freeze for BaseRelocation
impl RefUnwindSafe for BaseRelocation
impl Send for BaseRelocation
impl Sync for BaseRelocation
impl Unpin for BaseRelocation
impl UnwindSafe for BaseRelocation
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