pub trait SliceWrapper<T> {
// Required method
fn slice(&self) -> &[T];
// Provided method
fn len(&self) -> usize { ... }
}
pub trait SliceWrapper<T> {
// Required method
fn slice(&self) -> &[T];
// Provided method
fn len(&self) -> usize { ... }
}