#[non_exhaustive]pub enum GridAutoRows {
Auto,
MaxContent,
MinContent,
Length(Length),
Percentage(Percentage),
Raw(Raw),
}Expand description
A value of grid-auto-rows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
auto.
MaxContent
max-content.
MinContent
min-content.
Length(Length)
A length.
Percentage(Percentage)
A percentage.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for GridAutoRows
impl Clone for GridAutoRows
Source§fn clone(&self) -> GridAutoRows
fn clone(&self) -> GridAutoRows
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridAutoRows
impl Debug for GridAutoRows
Source§impl Display for GridAutoRows
impl Display for GridAutoRows
Source§impl From<Length> for GridAutoRows
impl From<Length> for GridAutoRows
Source§fn from(v: Length) -> GridAutoRows
fn from(v: Length) -> GridAutoRows
Converts to this type from the input type.
Source§impl From<Percentage> for GridAutoRows
impl From<Percentage> for GridAutoRows
Source§fn from(v: Percentage) -> GridAutoRows
fn from(v: Percentage) -> GridAutoRows
Converts to this type from the input type.
Source§impl From<Raw> for GridAutoRows
impl From<Raw> for GridAutoRows
Source§fn from(v: Raw) -> GridAutoRows
fn from(v: Raw) -> GridAutoRows
Converts to this type from the input type.
Source§impl PartialEq for GridAutoRows
impl PartialEq for GridAutoRows
impl StructuralPartialEq for GridAutoRows
Auto Trait Implementations§
impl Freeze for GridAutoRows
impl RefUnwindSafe for GridAutoRows
impl Send for GridAutoRows
impl Sync for GridAutoRows
impl Unpin for GridAutoRows
impl UnsafeUnpin for GridAutoRows
impl UnwindSafe for GridAutoRows
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