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