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