Enum dogs::data_structures::lazy_clonable::LazyClonableContent [−][src]
Expand description
Implements a data-structure that allows to perform a lazy copy. At the beginning, it only stores a pointer towards the parent datastructure. When the lazy_get method is called for the first time, the datastructure is copied from the parent reference. For later calls, the lazyget method only returns the existing copy.
Variants
reference to the “parent” element
Tuple Fields of Ref
0: Rc<T>
reference to “itself”
Tuple Fields of Computed
0: Rc<T>
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for LazyClonableContent<T>
impl<T> !Send for LazyClonableContent<T>
impl<T> !Sync for LazyClonableContent<T>
impl<T> Unpin for LazyClonableContent<T>
impl<T> UnwindSafe for LazyClonableContent<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more