Struct goblin::pe::data_directories::DataDirectories
source · [−]pub struct DataDirectories {
pub data_directories: [Option<DataDirectory>; 16],
}
Fields
data_directories: [Option<DataDirectory>; 16]
Implementations
sourceimpl DataDirectories
impl DataDirectories
pub fn parse(bytes: &[u8], count: usize, offset: &mut usize) -> Result<Self>
pub fn get_export_table(&self) -> &Option<DataDirectory>
pub fn get_import_table(&self) -> &Option<DataDirectory>
pub fn get_resource_table(&self) -> &Option<DataDirectory>
pub fn get_exception_table(&self) -> &Option<DataDirectory>
pub fn get_certificate_table(&self) -> &Option<DataDirectory>
pub fn get_base_relocation_table(&self) -> &Option<DataDirectory>
pub fn get_debug_table(&self) -> &Option<DataDirectory>
pub fn get_architecture(&self) -> &Option<DataDirectory>
pub fn get_global_ptr(&self) -> &Option<DataDirectory>
pub fn get_tls_table(&self) -> &Option<DataDirectory>
pub fn get_load_config_table(&self) -> &Option<DataDirectory>
pub fn get_bound_import_table(&self) -> &Option<DataDirectory>
pub fn get_import_address_table(&self) -> &Option<DataDirectory>
pub fn get_delay_import_descriptor(&self) -> &Option<DataDirectory>
pub fn get_clr_runtime_header(&self) -> &Option<DataDirectory>
Trait Implementations
sourceimpl Clone for DataDirectories
impl Clone for DataDirectories
sourcefn clone(&self) -> DataDirectories
fn clone(&self) -> DataDirectories
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 DataDirectories
impl Debug for DataDirectories
sourceimpl Default for DataDirectories
impl Default for DataDirectories
sourcefn default() -> DataDirectories
fn default() -> DataDirectories
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DataDirectories> for DataDirectories
impl PartialEq<DataDirectories> for DataDirectories
sourcefn eq(&self, other: &DataDirectories) -> bool
fn eq(&self, other: &DataDirectories) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataDirectories) -> bool
fn ne(&self, other: &DataDirectories) -> bool
This method tests for !=
.
impl Copy for DataDirectories
impl StructuralPartialEq for DataDirectories
Auto Trait Implementations
impl RefUnwindSafe for DataDirectories
impl Send for DataDirectories
impl Sync for DataDirectories
impl Unpin for DataDirectories
impl UnwindSafe for DataDirectories
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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