[][src]Struct sunrise_libuser::fs::DirectoryEntry

#[repr(C)]pub struct DirectoryEntry {
    pub path: [u8; 768],
    pub attribute: u8,
    pub directory_entry_type: DirectoryEntryType,
    pub file_size: u64,
}

Represent an entry inside a directory.

Fields

path: [u8; 768]

The path of the resource.

attribute: u8

The attribute of the resource. 1 = Archive bit is set (treat the directory as a file)

directory_entry_type: DirectoryEntryType

The type of the resource.

file_size: u64

The size of the file. (0 if it's a directory)

Trait Implementations

impl Clone for DirectoryEntry[src]

impl Copy for DirectoryEntry[src]

impl Debug for DirectoryEntry[src]

Auto Trait Implementations

impl RefUnwindSafe for DirectoryEntry

impl Send for DirectoryEntry

impl Sync for DirectoryEntry

impl Unpin for DirectoryEntry

impl UnwindSafe for DirectoryEntry

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> SizedIPCBuffer for 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.