pub enum TrackBreadth {
Length(LayoutLength),
Fr(f32),
Auto,
MinContent,
MaxContent,
}Expand description
How large a grid track may be at least or at most: one side of
minmax().
Variants§
Length(LayoutLength)
A length or a percent of the grid’s content box.
Fr(f32)
A share of the free space, <n>fr; only as the largest size.
Auto
auto.
MinContent
min-content.
MaxContent
max-content.
Trait Implementations§
Source§impl Clone for TrackBreadth
impl Clone for TrackBreadth
impl Copy for TrackBreadth
Source§impl Debug for TrackBreadth
impl Debug for TrackBreadth
Source§impl Display for TrackBreadth
impl Display for TrackBreadth
Source§impl PartialEq for TrackBreadth
impl PartialEq for TrackBreadth
impl StructuralPartialEq for TrackBreadth
Auto Trait Implementations§
impl Freeze for TrackBreadth
impl RefUnwindSafe for TrackBreadth
impl Send for TrackBreadth
impl Sync for TrackBreadth
impl Unpin for TrackBreadth
impl UnsafeUnpin for TrackBreadth
impl UnwindSafe for TrackBreadth
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