pub struct Platform {
pub cpu: String,
pub cpu_vendor: String,
pub memory: u64,
}
Expand description
Basic hardware information
Fields§
§cpu: String
CPU name
cpu_vendor: String
CPU vendor
memory: u64
Total installed memory
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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