[][src]Struct libnspire_sys::nspire_devinfo

#[repr(C)]pub struct nspire_devinfo {
    pub storage: nspire_devinfo__bindgen_ty_1,
    pub ram: nspire_devinfo__bindgen_ty_2,
    pub versions: [nspire_devinfo__bindgen_ty_3; 3],
    pub hw_type: nspire_type,
    pub batt: nspire_devinfo__bindgen_ty_4,
    pub clock_speed: u8,
    pub lcd: nspire_devinfo__bindgen_ty_5,
    pub extensions: nspire_devinfo__bindgen_ty_6,
    pub device_name: [c_char; 20],
    pub electronic_id: [c_char; 28],
    pub runlevel: nspire_runlevel,
}

Fields

storage: nspire_devinfo__bindgen_ty_1ram: nspire_devinfo__bindgen_ty_2versions: [nspire_devinfo__bindgen_ty_3; 3]hw_type: nspire_typebatt: nspire_devinfo__bindgen_ty_4clock_speed: u8lcd: nspire_devinfo__bindgen_ty_5extensions: nspire_devinfo__bindgen_ty_6device_name: [c_char; 20]electronic_id: [c_char; 28]runlevel: nspire_runlevel

Trait Implementations

impl Clone for nspire_devinfo[src]

impl Copy for nspire_devinfo[src]

impl Debug for nspire_devinfo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.