prettytable

Trait Slice

Source
pub trait Slice<'a, E> {
    type Output: 'a;

    // Required method
    fn slice(&'a self, arg: E) -> Self::Output;
}
Expand description

Trait implemented by types which can be sliced

Required Associated Types§

Source

type Output: 'a

Type output after slicing

Required Methods§

Source

fn slice(&'a self, arg: E) -> Self::Output

Get a slice from self

Implementors§

Source§

impl<'a, T, E> Slice<'a, E> for T
where T: AsTableSlice, [Row]: Index<E, Output = [Row]>,