Struct flipperzero_sys::SDInfo

source ·
#[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,
}
Expand description

Re-export bindings

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: u16§error: FS_Error

Trait Implementations§

source§

impl Clone for SDInfo

source§

fn clone(&self) -> SDInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SDInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for SDInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.