pub struct NodeRef<'a, Key: Hash + Eq + Clone, T: Clone> { /* private fields */ }Expand description
A reference to a node in a MapTree
The library guarantees that this references a valid node in the associated tree
Implementations§
Trait Implementations§
impl<'a, Key: Copy + Hash + Eq + Clone, T: Copy + Clone> Copy for NodeRef<'a, Key, T>
Auto Trait Implementations§
impl<'a, Key, T> Freeze for NodeRef<'a, Key, T>
impl<'a, Key, T> RefUnwindSafe for NodeRef<'a, Key, T>where
T: RefUnwindSafe,
Key: RefUnwindSafe,
impl<'a, Key, T> Send for NodeRef<'a, Key, T>
impl<'a, Key, T> Sync for NodeRef<'a, Key, T>
impl<'a, Key, T> Unpin for NodeRef<'a, Key, T>
impl<'a, Key, T> UnwindSafe for NodeRef<'a, Key, T>where
T: RefUnwindSafe,
Key: RefUnwindSafe,
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