Struct virt_sys::_virNodeInfo
source · #[repr(C)]pub struct _virNodeInfo {
pub model: [c_char; 32],
pub memory: c_ulong,
pub cpus: c_uint,
pub mhz: c_uint,
pub nodes: c_uint,
pub sockets: c_uint,
pub cores: c_uint,
pub threads: c_uint,
}Fields§
§model: [c_char; 32]§memory: c_ulong§cpus: c_uint§mhz: c_uint§nodes: c_uint§sockets: c_uint§cores: c_uint§threads: c_uintTrait Implementations§
source§impl Clone for _virNodeInfo
impl Clone for _virNodeInfo
source§fn clone(&self) -> _virNodeInfo
fn clone(&self) -> _virNodeInfo
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 _virNodeInfo
impl Debug for _virNodeInfo
impl Copy for _virNodeInfo
Auto Trait Implementations§
impl Freeze for _virNodeInfo
impl RefUnwindSafe for _virNodeInfo
impl Send for _virNodeInfo
impl Sync for _virNodeInfo
impl Unpin for _virNodeInfo
impl UnwindSafe for _virNodeInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)