Struct arret_compiler::ArcId [−][src]
pub struct ArcId<T> { /* fields omitted */ }
Reference-counted pointer that uses pointer identity
Traits such as Hash
, Eq
, Ord
etc. are implemented in terms of the value’s memory location.
This means that the value returned by ArcId::new()
is considered equal to itself and its
clones regardless of the value it points to.
Implementations
Trait Implementations
impl<T> Clone for ArcId<T>
[src]
impl<T> Clone for ArcId<T>
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> PartialOrd<ArcId<T>> for ArcId<T>
[src]
impl<T> PartialOrd<ArcId<T>> for ArcId<T>
[src]impl<T> Eq for ArcId<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ArcId<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ArcId<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Sync for ArcId<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Unpin for ArcId<T>
impl<T> UnwindSafe for ArcId<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> HashInHeap for T where
T: Hash,
[src]
impl<T> HashInHeap for T where
T: Hash,
[src]pub fn hash_in_heap<H>(&self, _heap: &Heap, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
impl<T> PartialEqInHeap for T where
T: PartialEq<T>,
[src]
impl<T> PartialEqInHeap for T where
T: PartialEq<T>,
[src]