Struct fatfs::DirEntry [] [src]

pub struct DirEntry<'a, 'b: 'a> { /* fields omitted */ }

FAT directory entry.

Returned by DirIter.

Methods

impl<'a, 'b> DirEntry<'a, 'b>
[src]

[src]

Returns short file name

[src]

Returns long file name or if it doesn't exist fallbacks to short file name.

[src]

Returns file attributes

[src]

Checks if entry belongs to directory.

[src]

Checks if entry belongs to regular file.

[src]

Returns File struct for this entry.

Panics if this is not a file.

[src]

Returns Dir struct for this entry.

Panics if this is not a directory.

[src]

Returns file size or 0 for directory.

[src]

Returns file creation date and time.

[src]

Returns file last access date.

[src]

Returns file last modification date and time.

Trait Implementations

impl<'a, 'b: 'a> Clone for DirEntry<'a, 'b>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, 'b> Debug for DirEntry<'a, 'b>
[src]

[src]

Formats the value using the given formatter.