Trait prettytable::Slice[][src]

pub trait Slice<'a, E> {
    type Output: 'a;
    fn slice(&'a self, arg: E) -> Self::Output;
}

Trait implemented by types which can be sliced

Associated Types

type Output: 'a[src]

Type output after slicing

Loading content...

Required methods

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

Get a slice from self

Loading content...

Implementors

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

type Output = TableSlice<'a>

Loading content...