pub enum GridAreaValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
String(DataTypeString),
}Variants§
Implementations§
Source§impl GridAreaValue
impl GridAreaValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is GridAreaValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is GridAreaValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is GridAreaValue::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 GridAreaValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is GridAreaValue::Unset otherwise false
Trait Implementations§
Source§impl Clone for GridAreaValue
impl Clone for GridAreaValue
Source§fn clone(&self) -> GridAreaValue
fn clone(&self) -> GridAreaValue
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 GridAreaValue
impl Debug for GridAreaValue
Source§impl Display for GridAreaValue
impl Display for GridAreaValue
Source§impl PartialEq for GridAreaValue
impl PartialEq for GridAreaValue
impl StructuralPartialEq for GridAreaValue
impl UnitDataType<GridArea<GridAreaValue>> for GridAreaValue
Auto Trait Implementations§
impl Freeze for GridAreaValue
impl RefUnwindSafe for GridAreaValue
impl Send for GridAreaValue
impl Sync for GridAreaValue
impl Unpin for GridAreaValue
impl UnwindSafe for GridAreaValue
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