pub struct TableFormatOptions {
pub max_columns: usize,
pub color: bool,
}Expand description
Options for aligned table rendering.
Fields§
§max_columns: usizeMax field columns (Symbol is always included).
color: boolWhen true, apply truecolor ANSI from CellTone::rgb.
Trait Implementations§
Source§impl Clone for TableFormatOptions
impl Clone for TableFormatOptions
Source§fn clone(&self) -> TableFormatOptions
fn clone(&self) -> TableFormatOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableFormatOptions
Source§impl Debug for TableFormatOptions
impl Debug for TableFormatOptions
Source§impl Default for TableFormatOptions
impl Default for TableFormatOptions
impl Eq for TableFormatOptions
Source§impl PartialEq for TableFormatOptions
impl PartialEq for TableFormatOptions
impl StructuralPartialEq for TableFormatOptions
Auto Trait Implementations§
impl Freeze for TableFormatOptions
impl RefUnwindSafe for TableFormatOptions
impl Send for TableFormatOptions
impl Sync for TableFormatOptions
impl Unpin for TableFormatOptions
impl UnsafeUnpin for TableFormatOptions
impl UnwindSafe for TableFormatOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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