#[repr(C)]pub struct SDInfo {Show 14 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,
}Fields§
§fs_type: SDFsType§kb_total: u32§kb_free: u32§cluster_size: u16§sector_size: u16§label: [c_char; 34]§manufacturer_id: u8§oem_id: [c_char; 3]§product_name: [c_char; 6]§product_revision_major: u8§product_revision_minor: u8§product_serial_number: u32§manufacturing_month: u8§manufacturing_year: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for SDInfo
impl RefUnwindSafe for SDInfo
impl Send for SDInfo
impl Sync for SDInfo
impl Unpin for SDInfo
impl UnwindSafe for SDInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more