Struct xplr::config::TableConfig
source · pub struct TableConfig {
pub header: TableRowConfig,
pub row: TableRowConfig,
pub style: Style,
pub tree: Option<(UiElement, UiElement, UiElement)>,
pub col_spacing: Option<u16>,
pub col_widths: Option<Vec<Constraint>>,
}
Fields§
§header: TableRowConfig
§row: TableRowConfig
§style: Style
§tree: Option<(UiElement, UiElement, UiElement)>
§col_spacing: Option<u16>
§col_widths: Option<Vec<Constraint>>
Trait Implementations§
source§impl Clone for TableConfig
impl Clone for TableConfig
source§fn clone(&self) -> TableConfig
fn clone(&self) -> TableConfig
Returns a copy 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 TableConfig
impl Debug for TableConfig
source§impl Default for TableConfig
impl Default for TableConfig
source§fn default() -> TableConfig
fn default() -> TableConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TableConfig
impl<'de> Deserialize<'de> for TableConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TableConfig
impl RefUnwindSafe for TableConfig
impl Send for TableConfig
impl Sync for TableConfig
impl Unpin for TableConfig
impl UnwindSafe for TableConfig
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