#[non_exhaustive]pub enum GridDirection {
Row,
Column,
}Expand description
Represents the direction of the grid auto flow.
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.
Row
The grid auto flow is in the row direction.
Column
The grid auto flow is in the column direction.
Trait Implementations§
Source§impl Clone for GridDirection
impl Clone for GridDirection
Source§fn clone(&self) -> GridDirection
fn clone(&self) -> GridDirection
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 GridDirection
Source§impl Debug for GridDirection
impl Debug for GridDirection
Source§impl Default for GridDirection
impl Default for GridDirection
Source§fn default() -> GridDirection
fn default() -> GridDirection
Returns the “default value” for a type. Read more
Source§impl PartialEq for GridDirection
impl PartialEq for GridDirection
Source§fn eq(&self, other: &GridDirection) -> bool
fn eq(&self, other: &GridDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GridDirection
Auto Trait Implementations§
impl Freeze for GridDirection
impl RefUnwindSafe for GridDirection
impl Send for GridDirection
impl Sync for GridDirection
impl Unpin for GridDirection
impl UnsafeUnpin for GridDirection
impl UnwindSafe for GridDirection
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