pub struct RamSize {
pub gb: f32,
pub gib: f32,
}Expand description
Contains total ram size, both in GB (1000^3 bytes) and GiB (1024^3 bytes)
Fields§
§gb: f32§gib: f32Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RamSize
impl Send for RamSize
impl Sync for RamSize
impl Unpin for RamSize
impl UnwindSafe for RamSize
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