#[non_exhaustive]pub enum GridRepetitionKeyword {
AutoFill,
AutoFit,
}Expand description
Represents grid track repetition keywords
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.
AutoFill
Automatically fills the available space with as many tracks as possible
AutoFit
Automatically fits as many tracks as possible while maintaining minimum size
Trait Implementations§
Source§impl Clone for GridRepetitionKeyword
impl Clone for GridRepetitionKeyword
Source§fn clone(&self) -> GridRepetitionKeyword
fn clone(&self) -> GridRepetitionKeyword
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 moreimpl Copy for GridRepetitionKeyword
Source§impl Debug for GridRepetitionKeyword
impl Debug for GridRepetitionKeyword
Source§impl PartialEq for GridRepetitionKeyword
impl PartialEq for GridRepetitionKeyword
Source§fn eq(&self, other: &GridRepetitionKeyword) -> bool
fn eq(&self, other: &GridRepetitionKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GridRepetitionKeyword
Auto Trait Implementations§
impl Freeze for GridRepetitionKeyword
impl RefUnwindSafe for GridRepetitionKeyword
impl Send for GridRepetitionKeyword
impl Sync for GridRepetitionKeyword
impl Unpin for GridRepetitionKeyword
impl UnsafeUnpin for GridRepetitionKeyword
impl UnwindSafe for GridRepetitionKeyword
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