Trait monster::incubation::slice_drop_last::SliceDropLast
[−]
[src]
pub trait SliceDropLast { fn drop_last(self, n: usize) -> Self; }
Required Methods
fn drop_last(self, n: usize) -> Self
Drop the last n
elements from the slice.
If n
is bigger than the slice's length
an empty slice will be returned.