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
Required Methods
Implementations on Foreign Types
sourceimpl<T> Truncate for Option<T>
impl<T> Truncate for Option<T>
let structure: Option<i32> = cl_traits::WithCapacity::with_capacity(Default::default());
assert_eq!(structure, None);