1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! Collection Traits (cl-traits)

#![deny(missing_docs)]
#![feature(const_generics)]
#![no_std]

mod capacity;
mod clear;
mod get;
mod get_mut;
mod length;
mod macros;
mod push;
mod slice;
mod slice_mut;
mod swap;
mod truncate;

#[cfg(feature = "alloc")]
extern crate alloc;

#[cfg(feature = "derive")]
pub use cl_traits_derive::*;
pub use {
  capacity::Capacity, clear::Clear, get::Get, get_mut::GetMut, length::Length, push::Push,
  slice::Slice, slice_mut::SliceMut, swap::Swap, truncate::Truncate,
};