Trait text_grid::Cells

source ·
pub trait Cells {
    // Required method
    fn fmt(f: &mut CellsFormatter<'_, '_, Self>);
}
Expand description

A data structure that can be formatted into cells.

The number of columns must be statically determined from the type.

If the number of columns is dynamically determined, CellsSchema must be used. See cells_schema for details.

Required Methods§

source

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

Define columns. see CellsFormatter for details.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Cells for bool

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for char

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for f32

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for f64

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for i8

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for i16

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for i32

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for i64

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for i128

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for isize

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for str

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for u8

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for u16

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for u32

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for u64

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for u128

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for ()

source§

fn fmt(_: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for usize

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl Cells for String

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0> Cells for (T0,)
where T0: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1> Cells for (T0, T1)
where T0: Cells, T1: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2> Cells for (T0, T1, T2)
where T0: Cells, T1: Cells, T2: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3> Cells for (T0, T1, T2, T3)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4> Cells for (T0, T1, T2, T3, T4)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5> Cells for (T0, T1, T2, T3, T4, T5)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6> Cells for (T0, T1, T2, T3, T4, T5, T6)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> Cells for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells, T10: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells, T10: Cells, T11: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells, T10: Cells, T11: Cells, T12: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells, T10: Cells, T11: Cells, T12: Cells, T13: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells, T10: Cells, T11: Cells, T12: Cells, T13: Cells, T14: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Cells for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: Cells, T1: Cells, T2: Cells, T3: Cells, T4: Cells, T5: Cells, T6: Cells, T7: Cells, T8: Cells, T9: Cells, T10: Cells, T11: Cells, T12: Cells, T13: Cells, T14: Cells, T15: Cells,

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T: Cells> Cells for Option<T>

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T: Cells, E: RawCell> Cells for Result<T, E>

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T: Cells, const N: usize> Cells for [T; N]

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T: ?Sized + Cells> Cells for &T

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

source§

impl<T: ?Sized + Cells> Cells for &mut T

source§

fn fmt(f: &mut CellsFormatter<'_, '_, Self>)

Implementors§

source§

impl<T: RawCell> Cells for Cell<T>