Struct alloc::collections::binary_heap::RebuildOnDrop
source · struct RebuildOnDrop<'a, T: Ord, A: Allocator = Global> {
heap: &'a mut BinaryHeap<T, A>,
rebuild_from: usize,
}
Fields§
§heap: &'a mut BinaryHeap<T, A>
§rebuild_from: usize
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, A> RefUnwindSafe for RebuildOnDrop<'a, T, A>where A: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, A> Send for RebuildOnDrop<'a, T, A>where A: Send, T: Send,
impl<'a, T, A> Sync for RebuildOnDrop<'a, T, A>where A: Sync, T: Sync,
impl<'a, T, A> Unpin for RebuildOnDrop<'a, T, A>
impl<'a, T, A = Global> !UnwindSafe for RebuildOnDrop<'a, T, A>
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