Lines Matching defs:KV

29550     Found(Handle<NodeRef<BorrowType, K, V, FoundType>, marker::KV>),
29555 KV(usize),
29561 /// Returns a `Found` with the handle of the matching KV, if any. Otherwise,
29695 /// Returns a `Found` with the handle of the matching KV, if any. Otherwise,
29707 IndexResult::KV(idx) => Found(unsafe { Handle::new_kv(self, idx) }),
29712 /// Returns either the KV index in the node at which the key (or an equivalent)
29731 Ordering::Equal => return IndexResult::KV(start_index + offset),
29753 IndexResult::KV(idx) => (idx, AllExcluded),
29757 IndexResult::KV(idx) => (idx + 1, AllIncluded),
29781 IndexResult::KV(idx) => (idx + 1, AllExcluded),
29785 IndexResult::KV(idx) => (idx, AllIncluded),
33791 /// KV twice.
33882 /// Do not use the duplicate handles to visit the same KV twice.
33896 // We duplicate the root NodeRef here -- we will never visit the same KV
33918 /// Given a leaf edge handle, returns [`Result::Ok`] with a handle to the neighboring KV
33924 Handle<NodeRef<BorrowType, K, V, marker::LeafOrInternal>, marker::KV>,
33939 /// Given a leaf edge handle, returns [`Result::Ok`] with a handle to the neighboring KV
33945 Handle<NodeRef<BorrowType, K, V, marker::LeafOrInternal>, marker::KV>,
33964 /// Given an internal edge handle, returns [`Result::Ok`] with a handle to the neighboring KV
33970 Handle<NodeRef<BorrowType, K, V, marker::Internal>, marker::KV>,
34062 /// There must be another KV in the direction travelled.
34075 /// There must be another KV in the direction travelled.
34090 /// There must be another KV in the direction travelled.
34105 /// There must be another KV in the direction travelled.
34123 /// - There must be another KV in the direction travelled.
34124 /// - That KV was not previously returned by counterpart `next_back_unchecked`
34141 /// - There must be another KV in the direction travelled.
34186 InternalKV(Handle<NodeRef<BorrowType, K, V, marker::Internal>, marker::KV>),
34237 Handle<NodeRef<BorrowType, K, V, marker::LeafOrInternal>, marker::KV>
34239 /// Returns the leaf edge closest to a KV for forward navigation.
34250 /// Returns the leaf edge closest to a KV for backward navigation.
35105 pub(super) handle: Handle<NodeRef<marker::Mut<'a>, K, V, marker::LeafOrInternal>, marker::KV>,
37736 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::LeafOrInternal>, marker::KV> {
37752 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Leaf>, marker::KV> {
37804 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::KV> {
37809 // Remove an adjacent KV from its leaf and then put it back in place of
37810 // the element we were asked to remove. Prefer the left adjacent KV,
37817 // to find where the original KV ended up.
38263 pub fn first_kv(self) -> Handle<Self, marker::KV> {
38270 pub fn last_kv(self) -> Handle<Self, marker::KV> {
38619 /// must be a `NodeRef`, while the `Type` can either be `KV` (signifying a handle on a key-value
38653 impl<BorrowType, K, V, NodeType> Handle<NodeRef<BorrowType, K, V, NodeType>, marker::KV> {
38713 pub fn left_kv(self) -> Result<Handle<NodeRef<BorrowType, K, V, NodeType>, marker::KV>, Self> {
38721 pub fn right_kv(self) -> Result<Handle<NodeRef<BorrowType, K, V, NodeType>, marker::KV>, Self> {
38736 /// computes a sensible KV index of a split point and where to perform the insertion.
38923 impl<'a, K: 'a, V: 'a, NodeType> Handle<NodeRef<marker::Immut<'a>, K, V, NodeType>, marker::KV> {
38933 impl<'a, K: 'a, V: 'a, NodeType> Handle<NodeRef<marker::Mut<'a>, K, V, NodeType>, marker::KV> {
38945 impl<'a, K, V, NodeType> Handle<NodeRef<marker::ValMut<'a>, K, V, NodeType>, marker::KV> {
38951 impl<'a, K: 'a, V: 'a, NodeType> Handle<NodeRef<marker::Mut<'a>, K, V, NodeType>, marker::KV> {
38964 /// Replace the key and value that the KV handle refers to.
38971 impl<'a, K: 'a, V: 'a, NodeType> Handle<NodeRef<marker::Mut<'a>, K, V, NodeType>, marker::KV> {
38998 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Leaf>, marker::KV> {
39030 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::KV> {
39060 parent: Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::KV>,
39065 impl<'a, K, V> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::KV> {
39079 /// the KV immediately to the left or to the right in the parent node.
39132 /// in a node to combine the central KV with both adjacent child nodes.
39408 impl<BorrowType, K, V> Handle<NodeRef<BorrowType, K, V, marker::Leaf>, marker::KV> {
39411 ) -> Handle<NodeRef<BorrowType, K, V, marker::LeafOrInternal>, marker::KV> {
39416 impl<BorrowType, K, V> Handle<NodeRef<BorrowType, K, V, marker::Internal>, marker::KV> {
39419 ) -> Handle<NodeRef<BorrowType, K, V, marker::LeafOrInternal>, marker::KV> {
39527 Fit(Handle<NodeRef<marker::Mut<'a>, K, V, NodeType>, marker::KV>),
39560 pub enum KV {}
39845 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::LeafOrInternal>, marker::KV> {
39861 impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::KV> {