Struct collections::btree::node::Handle
[−]
[src]
pub struct Handle<Node, Type> { node: Node, idx: usize, _marker: PhantomData<Type>, }
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
Fields
node | Unstable ( collections #27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead |
idx | Unstable ( collections #27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead |
_marker | Unstable ( collections #27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead |
Methods
impl<Node, Type> Handle<Node, Type>
fn into_node(self) -> Node
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<BorrowType, K, V, NodeType> Handle<NodeRef<BorrowType, K, V, NodeType>, KV>
fn new_kv(node: NodeRef<BorrowType, K, V, NodeType>, idx: usize) -> Self
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn left_edge(self) -> Handle<NodeRef<BorrowType, K, V, NodeType>, Edge>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn right_edge(self) -> Handle<NodeRef<BorrowType, K, V, NodeType>, Edge>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<BorrowType, K, V, NodeType, HandleType> Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType>
fn reborrow(&self) -> Handle<NodeRef<Immut, K, V, NodeType>, HandleType>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K, V, NodeType, HandleType> Handle<NodeRef<Mut<'a>, K, V, NodeType>, HandleType>
unsafe fn reborrow_mut(&mut self) -> Handle<NodeRef<Mut, K, V, NodeType>, HandleType>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<BorrowType, K, V, NodeType> Handle<NodeRef<BorrowType, K, V, NodeType>, Edge>
fn new_edge(node: NodeRef<BorrowType, K, V, NodeType>, idx: usize) -> Self
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn left_kv(self) -> Result<Handle<NodeRef<BorrowType, K, V, NodeType>, KV>, Self>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn right_kv(self) -> Result<Handle<NodeRef<BorrowType, K, V, NodeType>, KV>, Self>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K, V> Handle<NodeRef<Mut<'a>, K, V, Leaf>, Edge>
fn insert_fit(&mut self, key: K, val: V) -> *mut V
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn insert(self, key: K, val: V) -> (InsertResult<'a, K, V, Leaf>, *mut V)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K, V> Handle<NodeRef<Mut<'a>, K, V, Internal>, Edge>
fn correct_parent_link(self)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
unsafe fn cast_unchecked<NewType>(&mut self) -> Handle<NodeRef<Mut, K, V, NewType>, Edge>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn insert_fit(&mut self, key: K, val: V, edge: Root<K, V>)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn insert(self, key: K, val: V, edge: Root<K, V>) -> InsertResult<'a, K, V, Internal>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<BorrowType, K, V> Handle<NodeRef<BorrowType, K, V, Internal>, Edge>
fn descend(self) -> NodeRef<BorrowType, K, V, LeafOrInternal>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K: 'a, V: 'a, NodeType> Handle<NodeRef<Immut<'a>, K, V, NodeType>, KV>
fn into_kv(self) -> (&'a K, &'a V)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K: 'a, V: 'a, NodeType> Handle<NodeRef<Mut<'a>, K, V, NodeType>, KV>
fn into_kv_mut(self) -> (&'a mut K, &'a mut V)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K, V, NodeType> Handle<NodeRef<Mut<'a>, K, V, NodeType>, KV>
fn kv_mut(&mut self) -> (&mut K, &mut V)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K, V> Handle<NodeRef<Mut<'a>, K, V, Leaf>, KV>
fn split(self) -> (NodeRef<Mut<'a>, K, V, Leaf>, K, V, Root<K, V>)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn remove(self) -> (Handle<NodeRef<Mut<'a>, K, V, Leaf>, Edge>, K, V)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<'a, K, V> Handle<NodeRef<Mut<'a>, K, V, Internal>, KV>
fn split(self) -> (NodeRef<Mut<'a>, K, V, Internal>, K, V, Root<K, V>)
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn can_merge(&self) -> bool
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
fn merge(self) -> Handle<NodeRef<Mut<'a>, K, V, Internal>, Edge>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead
impl<BorrowType, K, V, HandleType> Handle<NodeRef<BorrowType, K, V, LeafOrInternal>, HandleType>
fn force(self) -> ForceResult<Handle<NodeRef<BorrowType, K, V, Leaf>, HandleType>, Handle<NodeRef<BorrowType, K, V, Internal>, HandleType>>
collections
#27783): library is unlikely to be stabilized with the current layout and name, use std::collections instead