[][src]Struct pelite::resources::DirectoryEntry

pub struct DirectoryEntry<'a> { /* fields omitted */ }

Directory child entry.

Contains a name and a reference to the associated data or directory entry.

Methods

impl<'a> DirectoryEntry<'a>[src]

pub fn resources(&self) -> Resources<'a>[src]

Gets the resources.

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

Gets the underlying resource directory entry image.

pub fn name(&self) -> Result<Name<'a>>[src]

Gets the name for this entry.

pub fn is_dir(&self) -> bool[src]

Returns if this entry is a directory.

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

Returns the directory or data entry for this entry.

pub fn fsck(&self) -> Result<()>[src]

Filesystem consistency check.

Simply walks the filesystem checking all references are valid.

Trait Implementations

impl<'a> Clone for DirectoryEntry<'a>[src]

impl<'a> Copy for DirectoryEntry<'a>[src]

impl<'a> Debug for DirectoryEntry<'a>[src]

impl<'a> Serialize for DirectoryEntry<'a>[src]

Auto Trait Implementations

impl<'a> Sync for DirectoryEntry<'a>

impl<'a> Send for DirectoryEntry<'a>

impl<'a> Unpin for DirectoryEntry<'a>

impl<'a> UnwindSafe for DirectoryEntry<'a>

impl<'a> RefUnwindSafe for DirectoryEntry<'a>

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]