pub struct VramReport {
pub current_usage_bytes: usize,
pub peak_usage_bytes: Option<usize>,
pub total_capacity_bytes: Option<usize>,
}
Expand description
A report of Video RAM (VRAM) usage.
Fields§
§current_usage_bytes: usize
The number of bytes of VRAM currently in use.
peak_usage_bytes: Option<usize>
The peak number of bytes of VRAM ever in use, if tracked.
total_capacity_bytes: Option<usize>
The total physical VRAM capacity in bytes, if available.
Trait Implementations§
Source§impl Clone for VramReport
impl Clone for VramReport
Source§fn clone(&self) -> VramReport
fn clone(&self) -> VramReport
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 moreSource§impl Debug for VramReport
impl Debug for VramReport
Source§impl Default for VramReport
impl Default for VramReport
Source§fn default() -> VramReport
fn default() -> VramReport
Returns the “default value” for a type. Read more
impl Copy for VramReport
Auto Trait Implementations§
impl Freeze for VramReport
impl RefUnwindSafe for VramReport
impl Send for VramReport
impl Sync for VramReport
impl Unpin for VramReport
impl UnwindSafe for VramReport
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