pub struct DetectedHardware {
pub cpu_cores: u32,
pub ram_mb: u64,
pub disk_free_mb: u64,
pub gpus: Vec<GpuInfo>,
}Fields§
§cpu_cores: u32§ram_mb: u64§disk_free_mb: u64§gpus: Vec<GpuInfo>Implementations§
Trait Implementations§
Source§impl Clone for DetectedHardware
impl Clone for DetectedHardware
Source§fn clone(&self) -> DetectedHardware
fn clone(&self) -> DetectedHardware
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 moreAuto Trait Implementations§
impl Freeze for DetectedHardware
impl RefUnwindSafe for DetectedHardware
impl Send for DetectedHardware
impl Sync for DetectedHardware
impl Unpin for DetectedHardware
impl UnsafeUnpin for DetectedHardware
impl UnwindSafe for DetectedHardware
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