Type Definition hirpdag_hashconsing::RefRc
source · [−]pub type RefRc<D> = Rc<D>;
Trait Implementations
sourceimpl<D> Reference<D> for RefRc<D> where
D: Hash + Eq + Debug,
impl<D> Reference<D> for RefRc<D> where
D: Hash + Eq + Debug,
sourcefn strong_deref(ptr: &Self) -> &D
fn strong_deref(ptr: &Self) -> &D
Borrow the referenced data.
sourcefn strong_clone(ptr: &Self) -> Self
fn strong_clone(ptr: &Self) -> Self
Clone the reference handle. The new resulting handle will refer to the same data.
sourcefn strong_ptr_eq(a: &Self, b: &Self) -> bool
fn strong_ptr_eq(a: &Self, b: &Self) -> bool
Check if two reference handles refer to the same data.