pub enum AVL<K, V = ()> {
Empty,
Node {
key: RefCounter<K>,
value: RefCounter<V>,
left: RefCounter<AVL<K, V>>,
right: RefCounter<AVL<K, V>>,
},
}Variants§
Empty
Node
Fields
§
key: RefCounter<K>§
value: RefCounter<V>§
left: RefCounter<AVL<K, V>>§
right: RefCounter<AVL<K, V>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for AVL<K, V>
impl<K, V> RefUnwindSafe for AVL<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V = ()> !Send for AVL<K, V>
impl<K, V = ()> !Sync for AVL<K, V>
impl<K, V> Unpin for AVL<K, V>
impl<K, V> UnwindSafe for AVL<K, V>where
K: RefUnwindSafe,
V: 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