pub struct DataDirectory {
pub virtual_address: u32,
pub size: u32,
}Expand description
One (RVA, size) pair from the optional header’s data directory array. Both fields are zero when the entry is unused.
Fields§
§virtual_address: u32§size: u32Trait Implementations§
Source§impl Clone for DataDirectory
impl Clone for DataDirectory
Source§fn clone(&self) -> DataDirectory
fn clone(&self) -> DataDirectory
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 moreSource§impl Debug for DataDirectory
impl Debug for DataDirectory
Source§impl PartialEq for DataDirectory
impl PartialEq for DataDirectory
Source§fn eq(&self, other: &DataDirectory) -> bool
fn eq(&self, other: &DataDirectory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DataDirectory
impl Eq for DataDirectory
impl StructuralPartialEq for DataDirectory
Auto Trait Implementations§
impl Freeze for DataDirectory
impl RefUnwindSafe for DataDirectory
impl Send for DataDirectory
impl Sync for DataDirectory
impl Unpin for DataDirectory
impl UnsafeUnpin for DataDirectory
impl UnwindSafe for DataDirectory
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