pub struct Heap { /* private fields */ }
Implementations§
Source§impl Heap
impl Heap
pub fn to_display<'a, S: Store>(&'a self, store: &'a S) -> DisplayHeap<'a, S>
pub fn clear(&mut self)
pub fn push(&mut self, idx: PackedPtr)
pub fn len(&self) -> usize
pub fn clone_from(&mut self, other: &[PackedPtr])
pub fn get(&self, idx: u32) -> Option<PackedPtr>
pub fn as_slice(&self) -> &[PackedPtr]
pub fn extend(&mut self, ext: &[PackedPtr])
Trait Implementations§
Source§impl Ord for Heap
impl Ord for Heap
Source§impl PartialOrd for Heap
impl PartialOrd for Heap
impl Eq for Heap
impl StructuralPartialEq for Heap
Auto Trait Implementations§
impl Freeze for Heap
impl RefUnwindSafe for Heap
impl Send for Heap
impl Sync for Heap
impl Unpin for Heap
impl UnwindSafe for Heap
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