An ordered map based on a
B-Tree.
An ordered set based on a B-Tree.
A pointer type that uniquely owns a heap allocation of type T
.
A mutable memory location.
A doubly-linked list with owned nodes.
A thin wrapper around a HashMap
, which guarantees that a HashMap
usage will not
result in a non-deterministic execution (simply by disallowing the iteration over its
elements).
A cell which can be written to only once.
Zero-sized type used to mark things that “act like” they own a T
.
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference
Counted’.
Wraps a borrowed reference to a value in a RefCell
box.
A wrapper type for an immutably borrowed value from a RefCell<T>
.
A mutable memory location with dynamically checked borrow rules
A wrapper type for a mutably borrowed value from a RefCell<T>
.
A UTF-8–encoded, growable string.
The core primitive for interior mutability in Rust.
A contiguous growable array type, written as Vec<T>
, short for ‘vector’.
A double-ended queue implemented with a growable ring buffer.
A value which is initialized on the first access.
Used to do a cheap mutable-to-mutable reference conversion.
Used to do a cheap reference-to-reference conversion.
A common trait for the ability to explicitly duplicate an object.
Types whose values can be duplicated simply by copying bits.
?
formatting.
A trait for giving a type a useful default value.
Format trait for an empty format, {}
.
An iterator able to yield elements from both ends.
Custom code within the destructor.
An iterator that knows its exact length.
Extend a collection with the contents of an iterator.
The version of the call operator that takes an immutable receiver.
The version of the call operator that takes a mutable receiver.
The version of the call operator that takes a by-value receiver.
Used to do value-to-value conversions while consuming the input value. It is the reciprocal of
Into
.
Parse a value from a string
A value-to-value conversion that consumes the input value. The
opposite of
From
.
A trait for dealing with iterators.
Trait for comparisons using the equality operator.
Types that can be transferred across thread boundaries.
Types with a constant size known at compile time.
Types for which it is safe to share references between threads.
A generalization of Clone
to borrowed data.
A trait for converting a value to a String
.
Simple and safe type conversions that may fail in a controlled
way under some circumstances. It is the reciprocal of
TryInto
.
An attempted conversion that consumes self
, which may or may not be
expensive.
Types that do not require any pinning guarantees.