Struct LazyLeafRange
pub(in ::collections::btree) struct LazyLeafRange<BorrowType, K, V> { pub(in ::collections::btree::navigate) front: Option<LazyLeafHandle<BorrowType, K, V>>, pub(in ::collections::btree::navigate) back: Option<LazyLeafHandle<BorrowType, K, V>> }
Fields
front: Option<LazyLeafHandle<BorrowType, K, V>>back: Option<LazyLeafHandle<BorrowType, K, V>>
Implementations
impl<'a, K, V> LazyLeafRange<Immut<'a>, K, V>
unsafe fn next_unchecked(&mut self) -> (&'a K, &'a V)unsafe fn next_back_unchecked(&mut self) -> (&'a K, &'a V)
impl<'a, K, V> LazyLeafRange<ValMut<'a>, K, V>
unsafe fn next_unchecked(&mut self) -> (&'a K, &'a mut V)unsafe fn next_back_unchecked(&mut self) -> (&'a K, &'a mut V)
impl<BorrowType, K, V> LazyLeafRange<BorrowType, K, V>
fn none() -> Selffn reborrow(&self) -> LazyLeafRange<Immut<'_>, K, V>Temporarily takes out another, immutable equivalent of the same range.
impl<BorrowType: BorrowType, K, V> LazyLeafRange<BorrowType, K, V>
fn init_front(&mut self) -> Option<&mut Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>>fn init_back(&mut self) -> Option<&mut Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>>
impl<K, V> LazyLeafRange<Dying, K, V>
fn take_front(&mut self) -> Option<Handle<NodeRef<Dying, K, V, Leaf>, Edge>>unsafe fn deallocating_next_unchecked<A: Allocator + Clone>(&mut self, alloc: A) -> Handle<NodeRef<Dying, K, V, LeafOrInternal>, KV>unsafe fn deallocating_next_back_unchecked<A: Allocator + Clone>(&mut self, alloc: A) -> Handle<NodeRef<Dying, K, V, LeafOrInternal>, KV>fn deallocating_end<A: Allocator + Clone>(&mut self, alloc: A)
Trait Implementations
impl<'a, K: 'a, V: 'a> Clone for LazyLeafRange<Immut<'a>, K, V>
fn clone(&self) -> Self
impl<B, K, V> Default for LazyLeafRange<B, K, V>
fn default() -> Self
Auto Trait Implementations
impl<BorrowType, K, V> Freeze for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: Freeze + Freeze,
impl<BorrowType, K, V> RefUnwindSafe for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: RefUnwindSafe + RefUnwindSafe,
impl<BorrowType, K, V> Send for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: Send + Send,
impl<BorrowType, K, V> Sync for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: Sync + Sync,
impl<BorrowType, K, V> Unpin for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: Unpin + Unpin,
impl<BorrowType, K, V> UnsafeUnpin for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: UnsafeUnpin + UnsafeUnpin,
impl<BorrowType, K, V> UnwindSafe for LazyLeafRange<BorrowType, K, V>
where
Option<LazyLeafHandle<BorrowType, K, V>>: UnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for LazyLeafRange<BorrowType, K, V>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LazyLeafRange<BorrowType, K, V>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LazyLeafRange<BorrowType, K, V>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LazyLeafRange<BorrowType, K, V>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LazyLeafRange<BorrowType, K, V>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for LazyLeafRange<BorrowType, K, V>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for LazyLeafRange<BorrowType, K, V>
impl<T> ToOwned for LazyLeafRange<BorrowType, K, V>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for LazyLeafRange<BorrowType, K, V>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LazyLeafRange<BorrowType, K, V>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for LazyLeafRange<BorrowType, K, V>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>