pub trait ElasticSlice {
    // Required methods
    fn reset(&mut self);
    fn full_len(&self) -> usize;
    fn start(&self) -> usize;
    fn end(&self) -> usize;

    // Provided methods
    fn len(&self) -> usize { ... }
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

source

fn reset(&mut self)

source

fn full_len(&self) -> usize

source

fn start(&self) -> usize

source

fn end(&self) -> usize

Provided Methods§

source

fn len(&self) -> usize

source

fn is_empty(&self) -> bool

Implementors§