pub trait Truncate {
    // Required method
    fn truncate(&mut self, _len: usize);
}

Required Methods§

source

fn truncate(&mut self, _len: usize)

Implementations on Foreign Types§

source§

impl<T> Truncate for LinkedList<T>

source§

fn truncate(&mut self, len: usize)

source§

impl<T> Truncate for VecDeque<T>

source§

fn truncate(&mut self, len: usize)

source§

impl<T> Truncate for Vec<T>

source§

fn truncate(&mut self, len: usize)

Implementors§