Struct alloc::collections::btree::node::SplitResult
source · pub 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 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 fn forget_node_type(self) -> SplitResult<'a, K, V, LeafOrInternal>
Auto Trait Implementations§
impl<'a, K, V, NodeType> RefUnwindSafe for SplitResult<'a, K, V, NodeType>where K: RefUnwindSafe, NodeType: RefUnwindSafe, V: RefUnwindSafe,
impl<'a, K, V, NodeType> Send for SplitResult<'a, K, V, NodeType>where K: Send, V: Send,
impl<'a, K, V, NodeType> Sync for SplitResult<'a, K, V, NodeType>where K: Sync, V: Sync,
impl<'a, K, V, NodeType> Unpin for SplitResult<'a, K, V, NodeType>where K: Unpin, NodeType: Unpin, V: Unpin,
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