Struct SplitResult
pub(in ::collections::btree) struct SplitResult<'a, K, V, NodeType> { pub left: NodeRef<Mut<'a>, K, V, NodeType>, pub kv: (K, V), pub right: NodeRef<Owned, K, V, NodeType> }
Result of insertion, when a node needed to expand beyond its capacity.
Fields
left: NodeRef<Mut<'a>, K, V, NodeType>kv: (K, V)right: NodeRef<Owned, K, V, NodeType>
Implementations
impl<'a, K, V> SplitResult<'a, K, V, Internal>
fn forget_node_type(self) -> SplitResult<'a, K, V, LeafOrInternal>
impl<'a, K, V> SplitResult<'a, K, V, Leaf>
fn forget_node_type(self) -> SplitResult<'a, K, V, LeafOrInternal>
Auto Trait Implementations
impl<'a, K, V, NodeType> !UnwindSafe for SplitResult<'a, K, V, NodeType>
impl<'a, K, V, NodeType> Freeze for SplitResult<'a, K, V, NodeType>
where
NodeRef<Mut<'a>, K, V, NodeType>: Freeze,
(K, V): Freeze,
NodeRef<Owned, K, V, NodeType>: Freeze,
impl<'a, K, V, NodeType> RefUnwindSafe for SplitResult<'a, K, V, NodeType>
where
NodeRef<Mut<'a>, K, V, NodeType>: RefUnwindSafe,
(K, V): RefUnwindSafe,
NodeRef<Owned, K, V, NodeType>: RefUnwindSafe,
impl<'a, K, V, NodeType> Send for SplitResult<'a, K, V, NodeType>
where
NodeRef<Mut<'a>, K, V, NodeType>: Send,
(K, V): Send,
NodeRef<Owned, K, V, NodeType>: Send,
impl<'a, K, V, NodeType> Sync for SplitResult<'a, K, V, NodeType>
where
NodeRef<Mut<'a>, K, V, NodeType>: Sync,
(K, V): Sync,
NodeRef<Owned, K, V, NodeType>: Sync,
impl<'a, K, V, NodeType> Unpin for SplitResult<'a, K, V, NodeType>
where
NodeRef<Mut<'a>, K, V, NodeType>: Unpin,
(K, V): Unpin,
NodeRef<Owned, K, V, NodeType>: Unpin,
impl<'a, K, V, NodeType> UnsafeUnpin for SplitResult<'a, K, V, NodeType>
where
NodeRef<Mut<'a>, K, V, NodeType>: UnsafeUnpin,
(K, V): UnsafeUnpin,
NodeRef<Owned, K, V, NodeType>: UnsafeUnpin,
Blanket Implementations
impl<T> Any for SplitResult<'a, K, V, NodeType>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SplitResult<'a, K, V, NodeType>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SplitResult<'a, K, V, NodeType>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for SplitResult<'a, K, V, NodeType>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for SplitResult<'a, K, V, NodeType>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for SplitResult<'a, K, V, NodeType>
impl<T, U> Into<U> for SplitResult<'a, K, V, NodeType>
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 SplitResult<'a, K, V, NodeType>
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 SplitResult<'a, K, V, NodeType>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>