Trait typed_tableau::AppendWith [] [src]

pub trait AppendWith<With> {
    type Out;
    fn with(self, o: With) -> Self::Out;
}

Sugar for appending something that is already contained onto an HList

Example

use typed_tableau::*;
use console::{Alignment, Style};

let columns =
    column::<&str>("name").
    column::<f32>("weight").with(
    column::<bool>("is_admin").style(Style::new().green()));

let cells =
    cell("joe").with(
    cell(42f32).align(Alignment::Right)).
    cell(true);

Associated Types

Required Methods

Implementors