[][src]Struct pelite::pe32::debug::Dir

pub struct Dir<'a, P> { /* fields omitted */ }

Debug directory entry.

Methods

impl<'a, P: Pe<'a>> Dir<'a, P>[src]

pub fn pe(&self) -> P[src]

Gets the PE instance.

pub fn image(&self) -> &'a IMAGE_DEBUG_DIRECTORY[src]

Gets the underlying debug directory image.

pub fn data(&self) -> Option<&'a [u8]>[src]

Gets the raw data of this debug directory entry.

pub fn entry(&self) -> Result<Entry<'a>>[src]

Interprets the directory entry.

Trait Implementations

impl<'a, P: Clone> Clone for Dir<'a, P>[src]

impl<'a, P: Copy> Copy for Dir<'a, P>[src]

impl<'a, P: Pe<'a>> Debug for Dir<'a, P>[src]

impl<'a, P: Pe<'a>> Serialize for Dir<'a, P>[src]

Auto Trait Implementations

impl<'a, P> Sync for Dir<'a, P> where
    P: Sync

impl<'a, P> Send for Dir<'a, P> where
    P: Send

impl<'a, P> Unpin for Dir<'a, P> where
    P: Unpin

impl<'a, P> UnwindSafe for Dir<'a, P> where
    P: UnwindSafe

impl<'a, P> RefUnwindSafe for Dir<'a, P> where
    P: RefUnwindSafe

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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