pub enum ColumnWidth {
Wide,
Narrow,
Rem(u8),
Percent(u8),
}Expand description
The width a Column claims in the table’s fixed layout.
Variants§
Wide
Take a share of whatever the declared columns leave.
Narrow
A share of the table for a status, boolean, date or count cell.
Rem(u8)
An explicit length in whole rem.
Percent(u8)
An explicit share of the table in whole percent.
Trait Implementations§
Source§impl Clone for ColumnWidth
impl Clone for ColumnWidth
impl Copy for ColumnWidth
Source§impl Debug for ColumnWidth
impl Debug for ColumnWidth
Source§impl Default for ColumnWidth
impl Default for ColumnWidth
impl Eq for ColumnWidth
Source§impl PartialEq for ColumnWidth
impl PartialEq for ColumnWidth
impl StructuralPartialEq for ColumnWidth
Auto Trait Implementations§
impl Freeze for ColumnWidth
impl RefUnwindSafe for ColumnWidth
impl Send for ColumnWidth
impl Sync for ColumnWidth
impl Unpin for ColumnWidth
impl UnsafeUnpin for ColumnWidth
impl UnwindSafe for ColumnWidth
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.