pub enum TableTheme {
Default,
Minimal,
Compact,
Plain,
}Expand description
Table theme styles.
Different visual styles for tables to match context and preference.
§Examples
use sublime_cli_tools::output::table::TableTheme;
let default = TableTheme::Default;
let minimal = TableTheme::Minimal;
let compact = TableTheme::Compact;Variants§
Default
Default theme with rounded corners and full borders
Minimal
Minimal theme with fewer borders
Compact
Compact theme for dense information
Plain
Plain theme without borders (for simple lists)
Trait Implementations§
Source§impl Clone for TableTheme
impl Clone for TableTheme
Source§fn clone(&self) -> TableTheme
fn clone(&self) -> TableTheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableTheme
impl Debug for TableTheme
Source§impl PartialEq for TableTheme
impl PartialEq for TableTheme
impl Copy for TableTheme
impl Eq for TableTheme
impl StructuralPartialEq for TableTheme
Auto Trait Implementations§
impl Freeze for TableTheme
impl RefUnwindSafe for TableTheme
impl Send for TableTheme
impl Sync for TableTheme
impl Unpin for TableTheme
impl UnwindSafe for TableTheme
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.