Struct alloc::collections::btree::navigate::LazyLeafRange
source · pub struct LazyLeafRange<BorrowType, K, V> {
front: Option<LazyLeafHandle<BorrowType, K, V>>,
back: Option<LazyLeafHandle<BorrowType, K, V>>,
}
Fields§
§front: Option<LazyLeafHandle<BorrowType, K, V>>
§back: Option<LazyLeafHandle<BorrowType, K, V>>
Implementations§
source§impl<BorrowType, K, V> LazyLeafRange<BorrowType, K, V>
impl<BorrowType, K, V> LazyLeafRange<BorrowType, K, V>
source§impl<'a, K, V> LazyLeafRange<Immut<'a>, K, V>
impl<'a, K, V> LazyLeafRange<Immut<'a>, K, V>
pub unsafe fn next_unchecked(&mut self) -> (&'a K, &'a V)
pub unsafe fn next_back_unchecked(&mut self) -> (&'a K, &'a V)
source§impl<'a, K, V> LazyLeafRange<ValMut<'a>, K, V>
impl<'a, K, V> LazyLeafRange<ValMut<'a>, K, V>
pub unsafe fn next_unchecked(&mut self) -> (&'a K, &'a mut V)
pub unsafe fn next_back_unchecked(&mut self) -> (&'a K, &'a mut V)
source§impl<K, V> LazyLeafRange<Dying, K, V>
impl<K, V> LazyLeafRange<Dying, K, V>
fn take_front(&mut self) -> Option<Handle<NodeRef<Dying, K, V, Leaf>, Edge>>
pub unsafe fn deallocating_next_unchecked<A: Allocator + Clone>( &mut self, alloc: A ) -> Handle<NodeRef<Dying, K, V, LeafOrInternal>, KV>
pub unsafe fn deallocating_next_back_unchecked<A: Allocator + Clone>( &mut self, alloc: A ) -> Handle<NodeRef<Dying, K, V, LeafOrInternal>, KV>
pub fn deallocating_end<A: Allocator + Clone>(&mut self, alloc: A)
Trait Implementations§
source§impl<'a, K: 'a, V: 'a> Clone for LazyLeafRange<Immut<'a>, K, V>
impl<'a, K: 'a, V: 'a> Clone for LazyLeafRange<Immut<'a>, K, V>
Auto Trait Implementations§
impl<BorrowType, K, V> RefUnwindSafe for LazyLeafRange<BorrowType, K, V>where BorrowType: RefUnwindSafe, K: RefUnwindSafe, V: RefUnwindSafe,
impl<BorrowType, K, V> !Send for LazyLeafRange<BorrowType, K, V>
impl<BorrowType, K, V> Sync for LazyLeafRange<BorrowType, K, V>where K: Sync, V: Sync,
impl<BorrowType, K, V> Unpin for LazyLeafRange<BorrowType, K, V>where BorrowType: Unpin,
impl<BorrowType, K, V> UnwindSafe for LazyLeafRange<BorrowType, K, V>where BorrowType: UnwindSafe, K: RefUnwindSafe, V: 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