Enum Position
pub(in ::collections::btree) enum Position<BorrowType, K, V>
Variants
-
Leaf(NodeRef<BorrowType, K, V, Leaf>) -
Internal(NodeRef<BorrowType, K, V, Internal>) -
InternalKV
Auto Trait Implementations
impl<BorrowType, K, V> Freeze for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: Freeze,
NodeRef<BorrowType, K, V, Internal>: Freeze,
impl<BorrowType, K, V> RefUnwindSafe for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: RefUnwindSafe,
NodeRef<BorrowType, K, V, Internal>: RefUnwindSafe,
impl<BorrowType, K, V> Send for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: Send,
NodeRef<BorrowType, K, V, Internal>: Send,
impl<BorrowType, K, V> Sync for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: Sync,
NodeRef<BorrowType, K, V, Internal>: Sync,
impl<BorrowType, K, V> Unpin for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: Unpin,
NodeRef<BorrowType, K, V, Internal>: Unpin,
impl<BorrowType, K, V> UnsafeUnpin for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: UnsafeUnpin,
NodeRef<BorrowType, K, V, Internal>: UnsafeUnpin,
impl<BorrowType, K, V> UnwindSafe for Position<BorrowType, K, V>
where
NodeRef<BorrowType, K, V, Leaf>: UnwindSafe,
NodeRef<BorrowType, K, V, Internal>: UnwindSafe,
Blanket Implementations
impl<T> Any for Position<BorrowType, K, V>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Position<BorrowType, K, V>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Position<BorrowType, K, V>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Position<BorrowType, K, V>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Position<BorrowType, K, V>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Position<BorrowType, K, V>
impl<T, U> Into<U> for Position<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 Position<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 Position<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>