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