[][src]Struct goblin::pe::data_directories::DataDirectory

#[repr(C)]
pub struct DataDirectory { pub virtual_address: u32, pub size: u32, }

Fields

virtual_address: u32size: u32

Methods

impl DataDirectory[src]

pub fn parse(bytes: &[u8], offset: &mut usize) -> Result<Self>[src]

Trait Implementations

impl Copy for DataDirectory[src]

impl PartialEq<DataDirectory> for DataDirectory[src]

impl Clone for DataDirectory[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for DataDirectory[src]

impl Debug for DataDirectory[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for DataDirectory where
    DataDirectory: 'a, 
[src]

type Error = Error

type Size = usize

impl<'a> TryIntoCtx<Endian, [u8]> for &'a DataDirectory[src]

type Error = Error

type Size = usize

impl TryIntoCtx<Endian, [u8]> for DataDirectory[src]

type Error = Error

type Size = usize

impl SizeWith<Endian> for DataDirectory[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.