20.19.8.3.1. Ordering-Based Queries🔗
🔗def
Returns the key-value pair with the n-th smallest key.
🔗def
Returns the key-value pair with the n-th smallest key, or panics if n is at least t.size.
🔗def
Returns the key-value pair with the n-th smallest key, or none if n is at least t.size.
🔗def
Returns the key-value pair with the n-th smallest key, or fallback if n is at least t.size.
🔗def
Given a proof that such a mapping exists, retrieves the key-value pair with the smallest key that is
greater than or equal to the given key.
🔗def
Tries to retrieve the key-value pair with the smallest key that is greater than or equal to the
given key, panicking if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the smallest key that is greater than or equal to the
given key, returning none if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the smallest key that is greater than or equal to the
given key, returning fallback if no such pair exists.
🔗def
Given a proof that such a mapping exists, retrieves the key-value pair with the smallest key that is
greater than the given key.
🔗def
Tries to retrieve the key-value pair with the smallest key that is greater than the given key,
panicking if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the smallest key that is greater than the given key,
returning none if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the smallest key that is greater than the given key,
returning fallback if no such pair exists.
🔗def
Given a proof that such a mapping exists, retrieves the key-value pair with the largest key that is
less than or equal to the given key.
🔗def
Tries to retrieve the key-value pair with the largest key that is less than or equal to the
given key, panicking if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the largest key that is less than or equal to the
given key, returning none if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the largest key that is less than or equal to the
given key, returning fallback if no such pair exists.
🔗def
Given a proof that such a mapping exists, retrieves the key-value pair with the largest key that is
less than the given key.
🔗def
Tries to retrieve the key-value pair with the largest key that is less than the given key,
panicking if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the largest key that is less than the given key,
returning none if no such pair exists.
🔗def
Tries to retrieve the key-value pair with the largest key that is less than the given key,
returning fallback if no such pair exists.
🔗def
Given a proof that such a mapping exists, retrieves the smallest key that is
greater than or equal to the given key.
🔗def
Tries to retrieve the smallest key that is greater than or equal to the
given key, panicking if no such key exists.
🔗def
Tries to retrieve the smallest key that is greater than or equal to the
given key, returning none if no such key exists.
🔗def
Tries to retrieve the smallest key that is greater than or equal to the
given key, returning fallback if no such key exists.
🔗def
Given a proof that such a mapping exists, retrieves the smallest key that is
greater than the given key.
🔗def
Tries to retrieve the smallest key that is greater than the given key,
panicking if no such key exists.
🔗def
Tries to retrieve the smallest key that is greater than the given key,
returning none if no such key exists.
🔗def
Tries to retrieve the smallest key that is greater than the given key,
returning fallback if no such key exists.
🔗def
Given a proof that such a mapping exists, retrieves the largest key that is
less than or equal to the given key.
🔗def
Tries to retrieve the largest key that is less than or equal to the
given key, panicking if no such key exists.
🔗def
Tries to retrieve the largest key that is less than or equal to the
given key, returning none if no such key exists.
🔗def
Tries to retrieve the largest key that is less than or equal to the
given key, returning fallback if no such key exists.
🔗def
Given a proof that such a mapping exists, retrieves the largest key that is
less than the given key.
🔗def
Tries to retrieve the largest key that is less than the given key,
panicking if no such key exists.
🔗def
Tries to retrieve the largest key that is less than the given key,
returning none if no such key exists.
🔗def
Tries to retrieve the largest key that is less than the given key,
returning fallback if no such key exists.
🔗def
Returns the n-th smallest key.
🔗def
Returns the n-th smallest key, or panics if n is at least t.size.
🔗def
Returns the n-th smallest key, or none if n is at least t.size.
🔗def
Returns the n-th smallest key, or fallback if n is at least t.size.
🔗def
Given a proof that the tree map is not empty, retrieves the key-value pair with the smallest key.
🔗def
Tries to retrieve the key-value pair with the smallest key in the tree map, panicking if the map is
empty.
🔗def
Tries to retrieve the key-value pair with the smallest key in the tree map, returning none if the
map is empty.
🔗def
Tries to retrieve the key-value pair with the smallest key in the tree map, returning fallback if
the tree map is empty.
🔗def
Given a proof that the tree map is not empty, retrieves the smallest key.
🔗def
Tries to retrieve the smallest key in the tree map, panicking if the map is empty.
🔗def
Tries to retrieve the smallest key in the tree map, returning none if the map is empty.
🔗def
Tries to retrieve the smallest key in the tree map, returning fallback if the tree map is empty.
🔗def
Given a proof that the tree map is not empty, retrieves the key-value pair with the largest key.
🔗def
Tries to retrieve the key-value pair with the largest key in the tree map, panicking if the map is
empty.
🔗def
Tries to retrieve the key-value pair with the largest key in the tree map, returning none if the
map is empty.
🔗def
Tries to retrieve the key-value pair with the largest key in the tree map, returning fallback if
the tree map is empty.
🔗def
Given a proof that the tree map is not empty, retrieves the largest key.
🔗def
Tries to retrieve the largest key in the tree map, panicking if the map is empty.
🔗def
Tries to retrieve the largest key in the tree map, returning none if the map is empty.
🔗def
Tries to retrieve the largest key in the tree map, returning fallback if the tree map is empty.