pub trait TableTrait<'a> {
type Header;
type ColumnLeft;
type ColumnRight;
type RowLeft;
// Required methods
fn new(
header: Option<Self::Header>,
column_left: Self::ColumnLeft,
column_right: Self::ColumnRight,
) -> Self;
fn disable_header(&mut self);
fn set_header(&mut self, header: Self::Header);
fn add_row(&mut self, row_left: Self::RowLeft, row_right: f64);
fn sort(&mut self, sort_by: &SortBy);
}Required Associated Types§
Required Methods§
fn new( header: Option<Self::Header>, column_left: Self::ColumnLeft, column_right: Self::ColumnRight, ) -> Self
fn disable_header(&mut self)
fn set_header(&mut self, header: Self::Header)
fn add_row(&mut self, row_left: Self::RowLeft, row_right: f64)
fn sort(&mut self, sort_by: &SortBy)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.