pub enum ColumnWidth {
Auto,
Grow,
Wrap,
Rem(u8),
}Expand description
Variants§
Auto
As wide as its content, on one line: a status, date, number or boolean.
Grow
As wide as its content up to 20rem, past which a value truncates; the first growing column also takes the table’s spare width. The default for text and relation columns.
Wrap
Wrap the content onto several lines, between 12rem and 28rem wide.
Rem(u8)
Exactly this many rem; a value past that truncates.
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.