pub enum AllocationState {
Allocated,
Freed,
}Expand description
Track new/delete operations for double-free and use-after-free detection
Variants§
Trait Implementations§
Source§impl Clone for AllocationState
impl Clone for AllocationState
Source§fn clone(&self) -> AllocationState
fn clone(&self) -> AllocationState
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 AllocationState
impl Debug for AllocationState
Source§impl PartialEq for AllocationState
impl PartialEq for AllocationState
impl StructuralPartialEq for AllocationState
Auto Trait Implementations§
impl Freeze for AllocationState
impl RefUnwindSafe for AllocationState
impl Send for AllocationState
impl Sync for AllocationState
impl Unpin for AllocationState
impl UnwindSafe for AllocationState
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