pub enum GridAuto {
Auto,
Fixed(Unit),
Inherit,
Initial,
MaxContent,
MinContent,
MinMax(Unit, Unit),
Plain(Vec<Unit>),
Unset,
}Expand description
config columns and rows in Grid
Variants§
Auto
Auto Grid
Fixed(Unit)
Fix items in every line
Inherit
Inherit the style of parents
Initial
Use initial value
MaxContent
Max content
MinContent
Min content
MinMax(Unit, Unit)
Use both max and min content
Plain(Vec<Unit>)
Use grid template
Unset
Unset the value
Trait Implementations§
Source§impl Ord for GridAuto
impl Ord for GridAuto
Source§impl PartialOrd for GridAuto
impl PartialOrd for GridAuto
impl Eq for GridAuto
impl StructuralPartialEq for GridAuto
Auto Trait Implementations§
impl Freeze for GridAuto
impl RefUnwindSafe for GridAuto
impl Send for GridAuto
impl Sync for GridAuto
impl Unpin for GridAuto
impl UnwindSafe for GridAuto
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