pub enum GridAutoFlowValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Row,
Column,
Dense,
LengthPercentage(LengthPercentage),
}Variants§
Implementations§
Source§impl GridAutoFlowValue
impl GridAutoFlowValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is GridAutoFlowValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Unset otherwise false
Sourcepub const fn is_row(&self) -> bool
pub const fn is_row(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Row otherwise false
Sourcepub const fn is_column(&self) -> bool
pub const fn is_column(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Column otherwise false
Sourcepub const fn is_dense(&self) -> bool
pub const fn is_dense(&self) -> bool
Returns true if the enum is GridAutoFlowValue::Dense otherwise false
Sourcepub const fn is_length_percentage(&self) -> bool
pub const fn is_length_percentage(&self) -> bool
Returns true if the enum is GridAutoFlowValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for GridAutoFlowValue
impl Clone for GridAutoFlowValue
Source§fn clone(&self) -> GridAutoFlowValue
fn clone(&self) -> GridAutoFlowValue
Returns a duplicate of the value. Read more
1.0.0 · 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 GridAutoFlowValue
impl Debug for GridAutoFlowValue
Source§impl Display for GridAutoFlowValue
impl Display for GridAutoFlowValue
Source§impl PartialEq for GridAutoFlowValue
impl PartialEq for GridAutoFlowValue
impl StructuralPartialEq for GridAutoFlowValue
impl UnitDataType<GridAutoFlow<GridAutoFlowValue>> for GridAutoFlowValue
Auto Trait Implementations§
impl Freeze for GridAutoFlowValue
impl RefUnwindSafe for GridAutoFlowValue
impl Send for GridAutoFlowValue
impl Sync for GridAutoFlowValue
impl Unpin for GridAutoFlowValue
impl UnwindSafe for GridAutoFlowValue
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