pub struct HeapAlloc { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Hash for HeapAlloc
Only hashes the underlying instruction name, since only one HeapAlloc
is created per allocating instruction.
impl Hash for HeapAlloc
Only hashes the underlying instruction name, since only one HeapAlloc
is created per allocating instruction.
Source§impl Ord for HeapAlloc
See comment on PartialEq
.
impl Ord for HeapAlloc
See comment on PartialEq
.
Source§impl PartialEq for HeapAlloc
Only compares the underlying instruction name, since only one HeapAlloc
is created per allocating instruction.
impl PartialEq for HeapAlloc
Only compares the underlying instruction name, since only one HeapAlloc
is created per allocating instruction.
Source§impl PartialOrd for HeapAlloc
impl PartialOrd for HeapAlloc
Source§impl UnionFind for HeapAlloc
impl UnionFind for HeapAlloc
type Ref<'a> = RwLockReadGuard<'a, Option<Arc<HeapAlloc>>>
type MutRef<'a> = RwLockWriteGuard<'a, Option<Arc<HeapAlloc>>>
fn parent_ref(&self) -> Self::Ref<'_>
fn parent_mut_ref(&self) -> Self::MutRef<'_>
fn grandparent(a: &Arc<Self>) -> Option<(Arc<Self>, Arc<Self>)>where
Self: PartialEq,
fn lookup(a: &Arc<Self>) -> Arc<Self>where
Self: PartialEq,
fn merge(a: &Arc<Self>, b: &Arc<Self>) -> boolwhere
Self: PartialEq + PartialOrd,
impl Eq for HeapAlloc
See comment on PartialEq
.
Auto Trait Implementations§
impl Freeze for HeapAlloc
impl RefUnwindSafe for HeapAlloc
impl Send for HeapAlloc
impl Sync for HeapAlloc
impl Unpin for HeapAlloc
impl UnwindSafe for HeapAlloc
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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