pub struct VerboseMemoryTracker { /* private fields */ }
Expand description
Memory tracker that logs all operations for debugging
Implementations§
Source§impl VerboseMemoryTracker
impl VerboseMemoryTracker
Sourcepub fn get_operations(&self) -> &[MemoryOperation]
pub fn get_operations(&self) -> &[MemoryOperation]
Get the operation log
Trait Implementations§
Source§impl Debug for VerboseMemoryTracker
impl Debug for VerboseMemoryTracker
Source§impl Default for VerboseMemoryTracker
impl Default for VerboseMemoryTracker
Source§fn default() -> VerboseMemoryTracker
fn default() -> VerboseMemoryTracker
Returns the “default value” for a type. Read more
Source§impl MemoryTracker for VerboseMemoryTracker
impl MemoryTracker for VerboseMemoryTracker
Auto Trait Implementations§
impl Freeze for VerboseMemoryTracker
impl RefUnwindSafe for VerboseMemoryTracker
impl Send for VerboseMemoryTracker
impl Sync for VerboseMemoryTracker
impl Unpin for VerboseMemoryTracker
impl UnwindSafe for VerboseMemoryTracker
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more