[][src]Struct nitro_fs::fnt::FileEntry

pub struct FileEntry {
    pub id: u16,
    pub path: PathBuf,
    pub alloc: AllocInfo,
}

Represents a NitroROM file entry.

Notes

path will be the full path relative to the root of the file name table.

Fields

id: u16path: PathBufalloc: AllocInfo

Implementations

impl FileEntry[src]

pub fn new<P: AsRef<Path>>(id: u16, path: P, alloc: AllocInfo) -> Self[src]

Trait Implementations

impl Clone for FileEntry[src]

impl Debug for FileEntry[src]

impl Default for FileEntry[src]

impl Eq for FileEntry[src]

impl Hash for FileEntry[src]

impl Ord for FileEntry[src]

impl PartialEq<FileEntry> for FileEntry[src]

impl PartialOrd<FileEntry> for FileEntry[src]

impl StructuralEq for FileEntry[src]

impl StructuralPartialEq for FileEntry[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.