pub struct DefaultTableContainer<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions>(/* private fields */);
Implementations§
Source§impl<S: 'static, T: Clone + Tabled + From<S> + TableInlineFormatSetter + 'static, O: TableOptions + 'static> DefaultTableContainer<S, T, O>
impl<S: 'static, T: Clone + Tabled + From<S> + TableInlineFormatSetter + 'static, O: TableOptions + 'static> DefaultTableContainer<S, T, O>
pub fn into_boxed(self) -> Box<DefaultTableContainer<S, T, O>>
pub fn into_html_table(self) -> Self
pub fn into_markdown_table(self) -> Self
Trait Implementations§
Source§impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> Display for DefaultTableContainer<S, T, O>
impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> Display for DefaultTableContainer<S, T, O>
Source§impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> From<IntoIter<S>> for DefaultTableContainer<S, T, O>
impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> From<IntoIter<S>> for DefaultTableContainer<S, T, O>
Source§impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> From<S> for DefaultTableContainer<S, T, O>
impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> From<S> for DefaultTableContainer<S, T, O>
Source§impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> From<Vec<S>> for DefaultTableContainer<S, T, O>
impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> From<Vec<S>> for DefaultTableContainer<S, T, O>
Source§impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> FromIterator<S> for DefaultTableContainer<S, T, O>
impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> FromIterator<S> for DefaultTableContainer<S, T, O>
Source§fn from_iter<TT: IntoIterator<Item = S>>(iter: TT) -> Self
fn from_iter<TT: IntoIterator<Item = S>>(iter: TT) -> Self
Creates a value from an iterator. Read more
Source§impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> TableContainer for DefaultTableContainer<S, T, O>
impl<S, T: Clone + Tabled + From<S> + TableInlineFormatSetter, O: TableOptions> TableContainer for DefaultTableContainer<S, T, O>
fn table(&self) -> Table
fn markdown_table(&self) -> Table
fn html_table(&self) -> HtmlTable
Auto Trait Implementations§
impl<S, T, O> Freeze for DefaultTableContainer<S, T, O>
impl<S, T, O> RefUnwindSafe for DefaultTableContainer<S, T, O>
impl<S, T, O> Send for DefaultTableContainer<S, T, O>
impl<S, T, O> Sync for DefaultTableContainer<S, T, O>
impl<S, T, O> Unpin for DefaultTableContainer<S, T, O>
impl<S, T, O> UnwindSafe for DefaultTableContainer<S, T, O>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more