Struct panda_sys::MachineInfo
source · #[repr(C)]pub struct MachineInfo {
pub name: *mut c_char,
pub has_alias: bool,
pub alias: *mut c_char,
pub has_is_default: bool,
pub is_default: bool,
pub cpu_max: i64,
pub hotpluggable_cpus: bool,
}
Fields§
§name: *mut c_char
§has_alias: bool
§alias: *mut c_char
§has_is_default: bool
§is_default: bool
§cpu_max: i64
§hotpluggable_cpus: bool
Trait Implementations§
source§impl Clone for MachineInfo
impl Clone for MachineInfo
source§fn clone(&self) -> MachineInfo
fn clone(&self) -> MachineInfo
Returns a copy 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 MachineInfo
impl Debug for MachineInfo
impl Copy for MachineInfo
Auto Trait Implementations§
impl RefUnwindSafe for MachineInfo
impl !Send for MachineInfo
impl !Sync for MachineInfo
impl Unpin for MachineInfo
impl UnwindSafe for MachineInfo
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