pub enum TableSizingPolicy {
FixedFit,
FixedSame,
StretchProp,
StretchSame,
}Expand description
Single-choice table sizing policy.
Variants§
FixedFit
Columns default to fixed/auto widths matching contents width.
FixedSame
Fixed/auto widths matching the maximum contents width of all columns.
StretchProp
Stretch columns with weights proportional to contents widths.
StretchSame
Stretch columns with equal weights unless overridden per column.
Trait Implementations§
Source§impl Clone for TableSizingPolicy
impl Clone for TableSizingPolicy
Source§fn clone(&self) -> TableSizingPolicy
fn clone(&self) -> TableSizingPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableSizingPolicy
impl Debug for TableSizingPolicy
Source§impl Hash for TableSizingPolicy
impl Hash for TableSizingPolicy
Source§impl PartialEq for TableSizingPolicy
impl PartialEq for TableSizingPolicy
Source§fn eq(&self, other: &TableSizingPolicy) -> bool
fn eq(&self, other: &TableSizingPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TableSizingPolicy
impl Eq for TableSizingPolicy
impl StructuralPartialEq for TableSizingPolicy
Auto Trait Implementations§
impl Freeze for TableSizingPolicy
impl RefUnwindSafe for TableSizingPolicy
impl Send for TableSizingPolicy
impl Sync for TableSizingPolicy
impl Unpin for TableSizingPolicy
impl UnsafeUnpin for TableSizingPolicy
impl UnwindSafe for TableSizingPolicy
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