pub struct Heap { /* private fields */ }
Implementations§
Source§impl Heap
impl Heap
pub fn clear(&mut self)
pub fn inner_heap(&mut self) -> &mut HeapInnerMap
pub fn set(&mut self, key: Cow<'static, str>, val: BufValue) -> Option<()>
pub fn get(&self, key: &str) -> Option<&BufValue>
pub fn get_mut(&mut self, key: &str) -> Option<&mut BufValue>
pub fn remove(&mut self, key: &str) -> Option<Option<BufValue>>
Trait Implementations§
Auto Trait Implementations§
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