Struct cursive_table_view::TableColumn[][src]

pub struct TableColumn<H> { /* fields omitted */ }

A type used for the construction of columns in a TableView.

Implementations

impl<H: Copy + Clone + 'static> TableColumn<H>[src]

pub fn ordering(self, order: Ordering) -> Self[src]

Sets the default ordering of the column.

pub fn align(self, alignment: HAlign) -> Self[src]

Sets the horizontal text alignment of the column.

pub fn width(self, width: usize) -> Self[src]

Sets how many characters of width this column will try to occupy.

pub fn width_percent(self, width: usize) -> Self[src]

Sets what percentage of the width of the entire table this column will try to occupy.

Auto Trait Implementations

impl<H> RefUnwindSafe for TableColumn<H> where
    H: RefUnwindSafe

impl<H> Send for TableColumn<H> where
    H: Send

impl<H> Sync for TableColumn<H> where
    H: Sync

impl<H> Unpin for TableColumn<H> where
    H: Unpin

impl<H> UnwindSafe for TableColumn<H> where
    H: UnwindSafe

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> Erased for T

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

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

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.

impl<T> With for T[src]