pub enum Width {
Content,
Fixed,
Fill,
}Expand description
How much room a column asks for.
An intent, so the actual floor stays with makeover-geometry. goingson’s
task table spells these as minmax(200px, 1fr), 140px and content-sized;
only the first three words of that survive deferral.
Variants§
Content
Takes what it needs and no more.
Fixed
A fixed share, the same at every width.
Fill
Absorbs whatever is left over.
Trait Implementations§
impl Copy for Width
impl Eq for Width
impl StructuralPartialEq for Width
Auto Trait Implementations§
impl Freeze for Width
impl RefUnwindSafe for Width
impl Send for Width
impl Sync for Width
impl Unpin for Width
impl UnsafeUnpin for Width
impl UnwindSafe for Width
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