Enum LazyLeafHandle

pub(in ::collections::btree::navigate) enum LazyLeafHandle<BorrowType, K, V>

Variants

Root(NodeRef<BorrowType, K, V, LeafOrInternal>)
Edge(Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>)

Implementations

impl<BorrowType, K, V> LazyLeafHandle<BorrowType, K, V>

fn reborrow(&self) -> LazyLeafHandle<Immut<'_>, K, V>

Trait Implementations

impl<'a, K: 'a, V: 'a> Clone for LazyLeafHandle<Immut<'a>, K, V>

fn clone(&self) -> Self

Auto Trait Implementations

impl<BorrowType, K, V> Freeze for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: Freeze, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: Freeze,

impl<BorrowType, K, V> RefUnwindSafe for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: RefUnwindSafe, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: RefUnwindSafe,

impl<BorrowType, K, V> Send for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: Send, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: Send,

impl<BorrowType, K, V> Sync for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: Sync, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: Sync,

impl<BorrowType, K, V> Unpin for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: Unpin, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: Unpin,

impl<BorrowType, K, V> UnsafeUnpin for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: UnsafeUnpin, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: UnsafeUnpin,

impl<BorrowType, K, V> UnwindSafe for LazyLeafHandle<BorrowType, K, V> where NodeRef<BorrowType, K, V, LeafOrInternal>: UnwindSafe, Handle<NodeRef<BorrowType, K, V, Leaf>, Edge>: UnwindSafe,

Blanket Implementations

impl<T> Any for LazyLeafHandle<BorrowType, K, V> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for LazyLeafHandle<BorrowType, K, V> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for LazyLeafHandle<BorrowType, K, V> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for LazyLeafHandle<BorrowType, K, V> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for LazyLeafHandle<BorrowType, K, V>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for LazyLeafHandle<BorrowType, K, V> where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for LazyLeafHandle<BorrowType, K, V>

impl<T> ToOwned for LazyLeafHandle<BorrowType, K, V> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for LazyLeafHandle<BorrowType, K, V> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for LazyLeafHandle<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 LazyLeafHandle<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>