Lines Matching full:mutable
215 /// Returns a mutable iterator over the tree nodes, sorted by key.
240 /// Returns a mutable iterator over the values of the nodes in the tree, sorted by key.
433 /// Returns a mutable reference to the value corresponding to the key.
564 /// A bidirectional mutable cursor over the tree nodes, sorted by key.
687 /// // Get a mutable reference to the current value.
892 // SAFETY: The [`CursorMut`] gives out immutable references to `K` and mutable references to `V`,
893 // so it has the same thread safety requirements as mutable references.
905 /// The current node, with a mutable value
909 // - We have an mutable reference by the function signature.
1019 // - By the function signature, we have a mutable reference to `self`.
1050 /// - The caller has mutable access to `node` for the duration of `'b`.
1054 // SAFETY: the caller guarantees mutable access to `node`.
1127 /// A mutable iterator over the nodes of a [`RBTree`].
1140 // SAFETY: The [`IterMut`] gives out immutable references to K and mutable references to V, so it has the same
1141 // thread safety requirements as mutable references.
1364 /// Gets a mutable reference to the value in the entry.
1368 // - We have exclusive access to the underlying tree, and can thus give out a mutable reference.
1372 /// Converts the entry into a mutable reference to its value.
1378 // - This consumes the `&'a mut RBTree<K, V>`, therefore it can give out a mutable reference that lives for `'a`.