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 const_int::ConstInt;
pub use const_int::ConstUint;
pub use weak_bounded_vec::WeakBoundedVec;
Modules§
- bounded_
btree_ map - Traits, types and structs to support a bounded BTreeMap.
- bounded_
btree_ set - Traits, types and structs to support a bounded
BTreeSet
. - bounded_
vec - Traits, types and structs to support putting a bounded vector into storage, as a raw value, map or a double map.
- const_
int - weak_
bounded_ vec - Traits, types and structs to support putting a bounded vector into storage, as a raw value, map or a double map.
Macros§
- bounded_
btree_ map - Build a bounded btree-map from the given literals.
- bounded_
vec - Build a bounded vec from the given literals.
- parameter_
types - Create new implementations of the
Get
trait.
Structs§
- Const
Bool - Const getter for a basic type.
- ConstI8
- Const getter for a basic type.
- Const
I16 - Const getter for a basic type.
- Const
I32 - Const getter for a basic type.
- Const
I64 - Const getter for a basic type.
- Const
I128 - Const getter for a basic type.
- ConstU8
- Const getter for a basic type.
- Const
U16 - Const getter for a basic type.
- Const
U32 - Const getter for a basic type.
- Const
U64 - Const getter for a basic type.
- Const
U128 - Const getter for a basic type.
- GetDefault
- Implement Get by returning Default for any type that implements Default.
Traits§
- Get
- A trait for querying a single value from a type.
- TryCollect
- Try and collect into a collection
C
. - Typed
Get - A trait for querying a single value from a type defined in the trait.