pub struct HashMapCloneContext<T> { /* private fields */ }Expand description
Clone context using HashMap for lookups.
Implementations§
Source§impl<T: Clone> HashMapCloneContext<T>
impl<T: Clone> HashMapCloneContext<T>
pub fn new() -> Self
Sourcepub fn clone_ref(&self, r: &HashMapGraphRef<T>) -> HashMapGraphRef<T>
pub fn clone_ref(&self, r: &HashMapGraphRef<T>) -> HashMapGraphRef<T>
Clone a single ref using HashMap lookup.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for HashMapCloneContext<T>
impl<T> !RefUnwindSafe for HashMapCloneContext<T>
impl<T> !Send for HashMapCloneContext<T>
impl<T> !Sync for HashMapCloneContext<T>
impl<T> Unpin for HashMapCloneContext<T>
impl<T> UnsafeUnpin for HashMapCloneContext<T>
impl<T> !UnwindSafe for HashMapCloneContext<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more