Struct libamdgpu_top::VramUsage
source · pub struct VramUsage(pub drm_amdgpu_memory_info);Tuple Fields§
§0: drm_amdgpu_memory_infoImplementations§
source§impl VramUsage
impl VramUsage
pub fn new(memory_info: &drm_amdgpu_memory_info) -> Self
pub fn update_usage(&mut self, amdgpu_dev: &DeviceHandle)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VramUsage
impl Send for VramUsage
impl Sync for VramUsage
impl Unpin for VramUsage
impl UnwindSafe for VramUsage
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