pub enum TrackSide {
Px(f32),
Fr(f32),
Auto,
}Expand description
One side of a minmax(), never itself a minmax. A Fr is only valid on
the max side (a flex minimum is meaningless), and degrades to auto if used
as a minimum.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrackSide
impl RefUnwindSafe for TrackSide
impl Send for TrackSide
impl Sync for TrackSide
impl Unpin for TrackSide
impl UnsafeUnpin for TrackSide
impl UnwindSafe for TrackSide
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