#[repr(C)]
pub struct SDInfo {Show 15 fields
pub fs_type: SDFsType,
pub kb_total: u32,
pub kb_free: u32,
pub cluster_size: u16,
pub sector_size: u16,
pub label: [c_char; 34],
pub manufacturer_id: u8,
pub oem_id: [c_char; 3],
pub product_name: [c_char; 6],
pub product_revision_major: u8,
pub product_revision_minor: u8,
pub product_serial_number: u32,
pub manufacturing_month: u8,
pub manufacturing_year: u16,
pub error: FS_Error,
}
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.