[][src]Trait flatk::Truncate

pub trait Truncate {
    fn truncate(&mut self, len: usize);
}

Truncate the collection to be a specified length.

Required methods

fn truncate(&mut self, len: usize)

Loading content...

Implementations on Foreign Types

impl<T: IntBound> Truncate for Range<T>[src]

fn truncate(&mut self, new_len: usize)[src]

Truncate the range to a specified length.

impl<'_, T> Truncate for &'_ [T][src]

impl<'_, T> Truncate for &'_ mut [T][src]

impl<S: Truncate, T: Truncate> Truncate for (S, T)[src]

impl<T> Truncate for Vec<T>[src]

Loading content...

Implementors

impl<O: Truncate> Truncate for Offsets<O>[src]

impl<O: Truncate> Truncate for SortedChunks<O>[src]

impl<S, I: Truncate> Truncate for Select<S, I>[src]

impl<S: Truncate> Truncate for ChunkedN<S>[src]

impl<S: Truncate, I: Truncate> Truncate for Subset<S, I>[src]

impl<S: Truncate, N: Unsigned> Truncate for UniChunked<S, U<N>>[src]

impl<S: Truncate, O> Truncate for Chunked<S, O> where
    O: AsRef<[usize]>, 
[src]

impl<S: Truncate, T, I: Truncate> Truncate for Sparse<S, T, I>[src]

Loading content...