pub trait CellsSource {
    // 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, GridSchema must be used. See grid_schema for details.

Required Methods§

source

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

Define columns. see CellsFormatter for details.

Implementations on Foreign Types§

source§

impl CellsSource for u8

source§

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

source§

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

source§

impl CellsSource for f64

source§

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

source§

impl CellsSource for str

source§

impl CellsSource for f32

source§

impl CellsSource for u32

source§

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

source§

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

source§

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

source§

impl CellsSource for i64

source§

impl CellsSource for ()

source§

impl CellsSource for String

source§

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

source§

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

source§

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

source§

impl<T: CellsSource, E: CellSource> CellsSource for Result<T, E>

source§

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

source§

impl CellsSource for u64

source§

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

source§

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

source§

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

source§

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

source§

impl<T: CellsSource> CellsSource for Option<T>

source§

impl CellsSource for u16

source§

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

source§

impl CellsSource for i8

source§

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

source§

impl CellsSource for i32

source§

impl CellsSource for u128

source§

impl CellsSource for i16

source§

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

source§

impl CellsSource for isize

source§

impl CellsSource for usize

source§

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

source§

impl CellsSource for i128

source§

impl CellsSource for bool

source§

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

source§

impl CellsSource for char

Implementors§