#[repr(C)]pub struct RBNode<K: PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Default + Copy + Clone + Pod + Zeroable> {
pub key: K,
pub value: V,
}Fields§
§key: K§value: VImplementations§
Trait Implementations§
Source§impl<K: Clone + PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Clone + Default + Copy + Clone + Pod + Zeroable> Clone for RBNode<K, V>
impl<K: Clone + PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Clone + Default + Copy + Clone + Pod + Zeroable> Clone for RBNode<K, V>
Source§impl<K: Default + PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Default + Default + Copy + Clone + Pod + Zeroable> Default for RBNode<K, V>
impl<K: Default + PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Default + Default + Copy + Clone + Pod + Zeroable> Default for RBNode<K, V>
Source§impl<K: PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Default + Copy + Clone + Pod + Zeroable> Zeroable for RBNode<K, V>
impl<K: PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Default + Copy + Clone + Pod + Zeroable> Zeroable for RBNode<K, V>
impl<K: Copy + PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Copy + Default + Copy + Clone + Pod + Zeroable> Copy for RBNode<K, V>
impl<K: PartialOrd + Ord + Copy + Clone + Default + Pod + Zeroable, V: Default + Copy + Clone + Pod + Zeroable> Pod for RBNode<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for RBNode<K, V>
impl<K, V> RefUnwindSafe for RBNode<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for RBNode<K, V>
impl<K, V> Sync for RBNode<K, V>
impl<K, V> Unpin for RBNode<K, V>
impl<K, V> UnwindSafe for RBNode<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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.