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