pub trait Slice:
IndexMut<Range<usize>, Output = Self>
+ IndexMut<RangeTo<usize>, Output = Self>
+ IndexMut<RangeFrom<usize>, Output = Self> {
// Required method
fn len(&self) -> usize;
// Provided method
fn is_empty(&self) -> bool { ... }
}