Module trait_based_collection::prelude
source · [−]Expand description
A module that contains all the traits that are used in this crate. This module is meant to be
used as a total import using the prelude::* syntax. The module also contains a macro that
creates the prelude for this crate allowing to also import the macros in this crate.
This macro avoids the need to write the following code:
use trait_based_collection::prelude::*;
#[macro_use]
use trait_based_collection;Instead, the following code can be used:
use trait_based_collection::import;
import!();Re-exports
pub use super::collection::Collection;pub use super::collection::ExpansionMode;pub use super::collection::FixedSizeCollection;pub use super::collection::Iterators;pub use super::queue::DequeCollection;