pub enum TrackSize {
Breadth(TrackBreadth),
MinMax(TrackBreadth, TrackBreadth),
FitContent(LayoutLength),
}Expand description
The size of one grid track.
Variants§
Breadth(TrackBreadth)
One breadth, as CSS writes it: a length is fixed, <n>fr is
minmax(auto, <n>fr), a keyword sizes by content.
MinMax(TrackBreadth, TrackBreadth)
minmax(min, max).
FitContent(LayoutLength)
fit-content(limit).
Implementations§
Trait Implementations§
impl Copy for TrackSize
impl StructuralPartialEq for TrackSize
Auto Trait Implementations§
impl Freeze for TrackSize
impl RefUnwindSafe for TrackSize
impl Send for TrackSize
impl Sync for TrackSize
impl Unpin for TrackSize
impl UnsafeUnpin for TrackSize
impl UnwindSafe for TrackSize
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