Struct xplr::config::TableConfig[][src]

pub struct TableConfig { /* fields omitted */ }

Implementations

impl TableConfig[src]

pub fn extend(self, other: Self) -> Self[src]

pub fn header(&self) -> &TableRowConfig[src]

Get a reference to the table config’s header.

pub fn row(&self) -> &TableRowConfig[src]

Get a reference to the table config’s row.

pub fn style(&self) -> Style[src]

Get a reference to the table config’s style.

pub fn tree(&self) -> &Option<(UiElement, UiElement, UiElement)>[src]

Get a reference to the table config’s tree.

pub fn col_spacing(&self) -> Option<u16>[src]

Get a reference to the table config’s col spacing.

pub fn col_widths(&self) -> &Option<Vec<Constraint>>[src]

Get a reference to the table config’s col widths.

Trait Implementations

impl Clone for TableConfig[src]

impl Debug for TableConfig[src]

impl Default for TableConfig[src]

impl<'de> Deserialize<'de> for TableConfig[src]

impl Serialize for TableConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.