[−][src]Struct cursive_table_view::TableColumn
A type used for the construction of columns in a
TableView
.
Methods
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,
H: RefUnwindSafe,
impl<H> Send for TableColumn<H> where
H: Send,
H: Send,
impl<H> Sync for TableColumn<H> where
H: Sync,
H: Sync,
impl<H> Unpin for TableColumn<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for TableColumn<H> where
H: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.