#[non_exhaustive]pub enum GridAutoColumns {
Auto,
MaxContent,
MinContent,
Length(Length),
Percentage(Percentage),
Raw(Raw),
}Expand description
A value of grid-auto-columns.
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 GridAutoColumns
impl Clone for GridAutoColumns
Source§fn clone(&self) -> GridAutoColumns
fn clone(&self) -> GridAutoColumns
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 GridAutoColumns
impl Debug for GridAutoColumns
Source§impl Display for GridAutoColumns
impl Display for GridAutoColumns
Source§impl From<Length> for GridAutoColumns
impl From<Length> for GridAutoColumns
Source§impl From<Percentage> for GridAutoColumns
impl From<Percentage> for GridAutoColumns
Source§fn from(v: Percentage) -> Self
fn from(v: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<Raw> for GridAutoColumns
impl From<Raw> for GridAutoColumns
Source§impl PartialEq for GridAutoColumns
impl PartialEq for GridAutoColumns
impl StructuralPartialEq for GridAutoColumns
Auto Trait Implementations§
impl Freeze for GridAutoColumns
impl RefUnwindSafe for GridAutoColumns
impl Send for GridAutoColumns
impl Sync for GridAutoColumns
impl Unpin for GridAutoColumns
impl UnsafeUnpin for GridAutoColumns
impl UnwindSafe for GridAutoColumns
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