pub struct EventBTreeMap<K: RawEvent> { /* private fields */ }Trait Implementations§
Source§impl<K: RawEvent> EventMap<K, Arc<LedgerNode<K, EventBTreeMap<K>>>> for EventBTreeMap<K>
impl<K: RawEvent> EventMap<K, Arc<LedgerNode<K, EventBTreeMap<K>>>> for EventBTreeMap<K>
type Item = Arc<LedgerNode<K, EventBTreeMap<K>>>
type Values<'a> = Values<'a, K, <EventBTreeMap<K> as EventMap<K, Arc<LedgerNode<K, EventBTreeMap<K>>>>>::Item> where K: 'a, Self::Item: 'a
fn new() -> Self
fn get(&self, query: &K) -> Option<&Self::Item>
fn values(&self) -> Self::Values<'_>
fn insert_with<F>(&mut self, k: K, f: F) -> Self::Item
Source§fn insert(&mut self, k: K, v: Self::Item) -> Self::Item
fn insert(&mut self, k: K, v: Self::Item) -> Self::Item
Don’t override existent entry,
but return its values instead of the one wanted to insert
fn remove(&mut self, query: &K) -> Option<Self::Item>
fn clear(&mut self)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<K> Freeze for EventBTreeMap<K>
impl<K> !RefUnwindSafe for EventBTreeMap<K>
impl<K> Send for EventBTreeMap<K>where
K: Send,
impl<K> Sync for EventBTreeMap<K>where
K: Sync,
impl<K> Unpin for EventBTreeMap<K>
impl<K> UnsafeUnpin for EventBTreeMap<K>
impl<K> !UnwindSafe for EventBTreeMap<K>
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