#[repr(C)]pub struct TopologyObjectMemory { /* private fields */ }Implementations§
Source§impl TopologyObjectMemory
impl TopologyObjectMemory
Sourcepub fn total_memory(&self) -> u64
pub fn total_memory(&self) -> u64
The total memory (in bytes) in this object and its children.
Sourcepub fn local_memory(&self) -> u64
pub fn local_memory(&self) -> u64
The local memory (in bytes) in this object.
Auto Trait Implementations§
impl Freeze for TopologyObjectMemory
impl RefUnwindSafe for TopologyObjectMemory
impl !Send for TopologyObjectMemory
impl !Sync for TopologyObjectMemory
impl Unpin for TopologyObjectMemory
impl UnwindSafe for TopologyObjectMemory
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