pub struct BTreeMap<T: BTreeParams>{ /* private fields */ }Implementations§
Source§impl<T: BTreeParams> BTreeMap<T>
impl<T: BTreeParams> BTreeMap<T>
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn contains_key(&self, key: &T::KeyType) -> bool
pub fn put(&mut self, key: T::KeyType, value: T::ValueType)
pub fn get(&self, key: &T::KeyType) -> Option<&T::ValueType>
pub fn remove(&mut self, key: &T::KeyType)
pub fn new() -> Self
Auto Trait Implementations§
impl<T> Freeze for BTreeMap<T>
impl<T> RefUnwindSafe for BTreeMap<T>where
[(); { _ }]: Sized,
[(); T::LEAF_SLOTMAX]: Sized,
<T as BTreeParams>::KeyCompareType: RefUnwindSafe,
T: RefUnwindSafe,
<T as BTreeParams>::KeyType: RefUnwindSafe,
<T as BTreeParams>::ValueType: RefUnwindSafe,
impl<T> !Send for BTreeMap<T>
impl<T> !Sync for BTreeMap<T>
impl<T> Unpin for BTreeMap<T>where
[(); { _ }]: Sized,
[(); T::LEAF_SLOTMAX]: Sized,
<T as BTreeParams>::KeyCompareType: Unpin,
T: Unpin,
impl<T> UnwindSafe for BTreeMap<T>where
[(); { _ }]: Sized,
[(); T::LEAF_SLOTMAX]: Sized,
<T as BTreeParams>::KeyCompareType: UnwindSafe,
T: UnwindSafe + RefUnwindSafe,
<T as BTreeParams>::KeyType: RefUnwindSafe,
<T as BTreeParams>::ValueType: 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