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§

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§

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.