pub struct Branch<K, V> {
pub item: Item<K, V>,
pub child: usize,
}
Expand description
Internal node branch.
A branch is an item followed by child node identifier.
Fields§
§item: Item<K, V>
Item.
child: usize
Following child node identifier.
Trait Implementations§
source§impl<K: PartialEq, V> PartialEq for Branch<K, V>
impl<K: PartialEq, V> PartialEq for Branch<K, V>
source§impl<K: Ord + PartialEq, V> PartialOrd for Branch<K, V>
impl<K: Ord + PartialEq, V> PartialOrd for Branch<K, V>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreAuto Trait Implementations§
impl<K, V> RefUnwindSafe for Branch<K, V>where K: RefUnwindSafe, V: RefUnwindSafe,
impl<K, V> Send for Branch<K, V>where K: Send, V: Send,
impl<K, V> Sync for Branch<K, V>where K: Sync, V: Sync,
impl<K, V> Unpin for Branch<K, V>where K: Unpin, V: Unpin,
impl<K, V> UnwindSafe for Branch<K, V>where K: UnwindSafe, V: UnwindSafe,
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