#[non_exhaustive]pub enum AnimationDuration {
Auto,
Time(Time),
Raw(Raw),
}Expand description
A value of animation-duration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AnimationDuration
impl Clone for AnimationDuration
Source§fn clone(&self) -> AnimationDuration
fn clone(&self) -> AnimationDuration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnimationDuration
impl Debug for AnimationDuration
Source§impl Display for AnimationDuration
impl Display for AnimationDuration
Source§impl From<Raw> for AnimationDuration
impl From<Raw> for AnimationDuration
Source§impl From<Time> for AnimationDuration
impl From<Time> for AnimationDuration
Source§impl PartialEq for AnimationDuration
impl PartialEq for AnimationDuration
impl StructuralPartialEq for AnimationDuration
Auto Trait Implementations§
impl Freeze for AnimationDuration
impl RefUnwindSafe for AnimationDuration
impl Send for AnimationDuration
impl Sync for AnimationDuration
impl Unpin for AnimationDuration
impl UnsafeUnpin for AnimationDuration
impl UnwindSafe for AnimationDuration
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