pub trait Reference<D> where
    D: Hash + Eq + Debug
{ fn new(data: D) -> Self; fn strong_deref(ptr: &Self) -> &D; fn strong_clone(ptr: &Self) -> Self; fn strong_ptr_eq(a: &Self, b: &Self) -> bool; }
Expand description

Strong reference handle type.

Required Methods

Move the data into a new strong reference.

Borrow the referenced data.

Clone the reference handle. The new resulting handle will refer to the same data.

Check if two reference handles refer to the same data.