pub enum TableColumnWidth {
Fixed(f32),
Stretch(f32),
}Expand description
Single-choice width mode for a table column.
Variants§
Fixed(f32)
Initial value is interpreted as a fixed width in pixels.
Stretch(f32)
Initial value is interpreted as a stretch weight.
Implementations§
Trait Implementations§
Source§impl Clone for TableColumnWidth
impl Clone for TableColumnWidth
Source§fn clone(&self) -> TableColumnWidth
fn clone(&self) -> TableColumnWidth
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 TableColumnWidth
impl Debug for TableColumnWidth
Source§impl PartialEq for TableColumnWidth
impl PartialEq for TableColumnWidth
Source§fn eq(&self, other: &TableColumnWidth) -> bool
fn eq(&self, other: &TableColumnWidth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TableColumnWidth
impl StructuralPartialEq for TableColumnWidth
Auto Trait Implementations§
impl Freeze for TableColumnWidth
impl RefUnwindSafe for TableColumnWidth
impl Send for TableColumnWidth
impl Sync for TableColumnWidth
impl Unpin for TableColumnWidth
impl UnsafeUnpin for TableColumnWidth
impl UnwindSafe for TableColumnWidth
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