pub trait PointerFamily<'a> {
type Pointer<T: 'a>: Deref<Target = T> + Clone;
}
Expand description
Abstraction over smart pointers.
Used so to make the indexical data structures generic with respect
to choice of Rc
or Arc
(or your own clonable smart pointer!).
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.