pub trait Truncate {
    type Input;
    type Output;

    fn truncate(&mut self, input: Self::Input) -> Self::Output;
}
Expand description

See Truncate::truncate for more information.

Required Associated Types

Input

Output

Required Methods

Truncates the storage, delimiting its length by Input.

Implementations on Foreign Types

let structure: Option<i32> = cl_traits::WithCapacity::with_capacity(Default::default());
assert_eq!(structure, None);

Implementors