OSInfo

Struct OSInfo 

Source
#[repr(C)]
pub struct OSInfo {
Show 67 fields pub gameName: [c_char; 4], pub company: [c_char; 2], pub disk_id: u8_, pub disk_version: u8_, pub is_audiostream: u8_, pub streambuffer_size: u8_, pub xc: c_int, pub x10: c_int, pub x14: c_int, pub x18: c_int, pub dvd_magicword: c_int, pub boot_magicword: c_int, pub sys_version: c_int, pub mem_size: c_int, pub console_type: c_int, pub arena_lo: c_int, pub arena_hi: c_int, pub fst: *mut c_void, pub fst_maxsize: c_int, pub x40: c_int, pub x44: c_int, pub x48: c_int, pub x4C: c_int, pub x50: c_int, pub x54: c_int, pub x58: c_int, pub x5C: c_int, pub x60: c_int, pub x64: c_int, pub x68: c_int, pub x6C: c_int, pub x70: c_int, pub x74: c_int, pub x78: c_int, pub x7C: c_int, pub x80: c_int, pub x84: c_int, pub x88: c_int, pub x8C: c_int, pub x90: c_int, pub x94: c_int, pub x98: c_int, pub x9C: c_int, pub xA0: c_int, pub xA4: c_int, pub xA8: c_int, pub xAC: c_int, pub xB0: c_int, pub xB4: c_int, pub xB8: c_int, pub xBC: c_int, pub xC0: c_int, pub xC4: c_int, pub xC8: c_int, pub tv_mode: c_int, pub aram_size: c_int, pub xD4: c_int, pub xD8: c_int, pub xDC: c_int, pub xE0: c_int, pub curr_osthread: c_int, pub xE8: c_int, pub xEC: c_int, pub simulated_memsize: c_int, pub dvd_BI2: *mut c_void, pub bus_clock: c_int, pub cpu_clock: c_int,
}
Expand description

Structs

Fields§

§gameName: [c_char; 4]§company: [c_char; 2]§disk_id: u8_§disk_version: u8_§is_audiostream: u8_§streambuffer_size: u8_§xc: c_int§x10: c_int§x14: c_int§x18: c_int§dvd_magicword: c_int§boot_magicword: c_int§sys_version: c_int§mem_size: c_int§console_type: c_int§arena_lo: c_int§arena_hi: c_int§fst: *mut c_void§fst_maxsize: c_int§x40: c_int§x44: c_int§x48: c_int§x4C: c_int§x50: c_int§x54: c_int§x58: c_int§x5C: c_int§x60: c_int§x64: c_int§x68: c_int§x6C: c_int§x70: c_int§x74: c_int§x78: c_int§x7C: c_int§x80: c_int§x84: c_int§x88: c_int§x8C: c_int§x90: c_int§x94: c_int§x98: c_int§x9C: c_int§xA0: c_int§xA4: c_int§xA8: c_int§xAC: c_int§xB0: c_int§xB4: c_int§xB8: c_int§xBC: c_int§xC0: c_int§xC4: c_int§xC8: c_int§tv_mode: c_int§aram_size: c_int§xD4: c_int§xD8: c_int§xDC: c_int§xE0: c_int§curr_osthread: c_int§xE8: c_int§xEC: c_int§simulated_memsize: c_int§dvd_BI2: *mut c_void§bus_clock: c_int§cpu_clock: c_int

Trait Implementations§

Source§

impl Clone for OSInfo

Source§

fn clone(&self) -> OSInfo

Returns a duplicate 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 OSInfo

Source§

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

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

impl Copy for OSInfo

Auto Trait Implementations§

§

impl Freeze for OSInfo

§

impl RefUnwindSafe for OSInfo

§

impl !Send for OSInfo

§

impl !Sync for OSInfo

§

impl Unpin for OSInfo

§

impl UnwindSafe for OSInfo

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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 T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.