pub(super) 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>,
}
Expand description
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§
Source§impl<'a, K, V> SplitResult<'a, K, V, Leaf>
impl<'a, K, V> SplitResult<'a, K, V, Leaf>
pub(super) fn forget_node_type(self) -> SplitResult<'a, K, V, LeafOrInternal>
Source§impl<'a, K, V> SplitResult<'a, K, V, Internal>
impl<'a, K, V> SplitResult<'a, K, V, Internal>
pub(super) fn forget_node_type(self) -> SplitResult<'a, K, V, LeafOrInternal>
Auto Trait Implementations§
impl<'a, K, V, NodeType> Freeze for SplitResult<'a, K, V, NodeType>
impl<'a, K, V, NodeType> RefUnwindSafe for SplitResult<'a, K, V, NodeType>
impl<'a, K, V, NodeType> Send for SplitResult<'a, K, V, NodeType>
impl<'a, K, V, NodeType> Sync for SplitResult<'a, K, V, NodeType>
impl<'a, K, V, NodeType> Unpin for SplitResult<'a, K, V, NodeType>
impl<'a, K, V, NodeType> !UnwindSafe for SplitResult<'a, K, V, NodeType>
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more