#[repr(C)]pub struct CPUListState {
pub cpu_fprintf: Option<unsafe extern "C" fn(*mut _IO_FILE, *const i8, ...) -> i32>,
pub file: *mut _IO_FILE,
}Expand description
CPUListState: @cpu_fprintf: Print function. @file: File to print to using @cpu_fprint.
State commonly used for iterating over CPU models.
Fields§
§cpu_fprintf: Option<unsafe extern "C" fn(*mut _IO_FILE, *const i8, ...) -> i32>§file: *mut _IO_FILETrait Implementations§
Source§impl Clone for CPUListState
impl Clone for CPUListState
Source§fn clone(&self) -> CPUListState
fn clone(&self) -> CPUListState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CPUListState
impl Debug for CPUListState
impl Copy for CPUListState
Auto Trait Implementations§
impl Freeze for CPUListState
impl RefUnwindSafe for CPUListState
impl !Send for CPUListState
impl !Sync for CPUListState
impl Unpin for CPUListState
impl UnwindSafe for CPUListState
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