[][src]Struct embedded_sdmmc::ShortFileName

pub struct ShortFileName { /* fields omitted */ }

An MS-DOS 8.3 filename. 7-bit ASCII only. All lower-case is converted to upper-case by default.

Methods

impl ShortFileName[src]

pub fn create_from_str(name: &str) -> Result<ShortFileName, FilenameError>[src]

Create a new MS-DOS 8.3 space-padded file name as stored in the directory entry.

pub fn create_from_str_mixed_case(
    name: &str
) -> Result<ShortFileName, FilenameError>
[src]

Create a new MS-DOS 8.3 space-padded file name as stored in the directory entry. Use this for volume labels with mixed case.

Trait Implementations

impl Clone for ShortFileName[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ShortFileName> for ShortFileName[src]

impl Eq for ShortFileName[src]

impl Display for ShortFileName[src]

impl Debug for ShortFileName[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

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

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

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