pub enum AnimationIterationCountValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Infinite,
Number(Number),
}Variants§
Implementations§
Source§impl AnimationIterationCountValue
impl AnimationIterationCountValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is AnimationIterationCountValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is AnimationIterationCountValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is AnimationIterationCountValue::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 AnimationIterationCountValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is AnimationIterationCountValue::Unset otherwise false
Sourcepub const fn is_infinite(&self) -> bool
pub const fn is_infinite(&self) -> bool
Returns true if the enum is AnimationIterationCountValue::Infinite otherwise false
Trait Implementations§
Source§impl Clone for AnimationIterationCountValue
impl Clone for AnimationIterationCountValue
Source§fn clone(&self) -> AnimationIterationCountValue
fn clone(&self) -> AnimationIterationCountValue
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 AnimationIterationCountValue
impl Debug for AnimationIterationCountValue
Source§impl PartialEq for AnimationIterationCountValue
impl PartialEq for AnimationIterationCountValue
Source§fn eq(&self, other: &AnimationIterationCountValue) -> bool
fn eq(&self, other: &AnimationIterationCountValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnimationIterationCountValue
impl UnitDataType<AnimationIterationCount<AnimationIterationCountValue>> for AnimationIterationCountValue
Auto Trait Implementations§
impl Freeze for AnimationIterationCountValue
impl RefUnwindSafe for AnimationIterationCountValue
impl Send for AnimationIterationCountValue
impl Sync for AnimationIterationCountValue
impl Unpin for AnimationIterationCountValue
impl UnwindSafe for AnimationIterationCountValue
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