[][src]Struct embedded_sdmmc::DirEntry

pub struct DirEntry {
    pub name: ShortFileName,
    pub mtime: Timestamp,
    pub ctime: Timestamp,
    pub attributes: Attributes,
    pub cluster: Cluster,
    pub size: u32,
    pub entry_block: BlockIdx,
    pub entry_offset: u32,
}

Represents a directory entry, which tells you about other files and directories.

Fields

name: ShortFileName

The name of the file

mtime: Timestamp

When the file was last modified

ctime: Timestamp

When the file was first created

attributes: Attributes

The file attributes (Read Only, Archive, etc)

cluster: Cluster

The starting cluster of the file. The FAT tells us the following Clusters.

size: u32

The size of the file in bytes.

entry_block: BlockIdx

The disk block of this entry

entry_offset: u32

The offset on its block (in bytes)

Trait Implementations

impl Clone for DirEntry[src]

impl Debug for DirEntry[src]

impl Eq for DirEntry[src]

impl PartialEq<DirEntry> for DirEntry[src]

impl StructuralEq for DirEntry[src]

impl StructuralPartialEq 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> 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.