Crate bounded_collections
source ·Expand description
Collection types that have an upper limit on how many elements that they can contain, and supporting traits that aid in defining the limit.
Re-exports§
pub extern crate alloc;
pub use bounded_btree_map::BoundedBTreeMap;
pub use bounded_btree_set::BoundedBTreeSet;
pub use bounded_vec::BoundedSlice;
pub use bounded_vec::BoundedVec;
pub use weak_bounded_vec::WeakBoundedVec;
Modules§
- Traits, types and structs to support a bounded BTreeMap.
- Traits, types and structs to support a bounded
BTreeSet
. - Traits, types and structs to support putting a bounded vector into storage, as a raw value, map or a double map.
- Traits, types and structs to support putting a bounded vector into storage, as a raw value, map or a double map.
Macros§
- Build a bounded btree-map from the given literals.
- Build a bounded vec from the given literals.
- Create new implementations of the
Get
trait.
Structs§
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Implement Get by returning Default for any type that implements Default.
Traits§
- A trait for querying a single value from a type.
- Try and collect into a collection
C
. - A trait for querying a single value from a type defined in the trait.