[][src]Struct matryoshka::DirEntry

pub struct DirEntry { /* fields omitted */ }

Implementations

impl DirEntry[src]

pub fn path(&self) -> &Path[src]

Returns full path to this directory entry inside the DataSource.

pub fn info(&self) -> FileInfo[src]

Returns the metadata of this directory entry.

pub fn file_name(&self) -> &OsStr[src]

Gets the file name from this directory entry. Since the path comes from a directory entry, path.file_name() will never return None.

Trait Implementations

impl Debug for DirEntry[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.