pub enum TransitionSpeed {
Slow,
Medium,
Fast,
}Expand description
Speed preset for a transition.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TransitionSpeed
impl Clone for TransitionSpeed
Source§fn clone(&self) -> TransitionSpeed
fn clone(&self) -> TransitionSpeed
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 TransitionSpeed
impl Debug for TransitionSpeed
Source§impl PartialEq for TransitionSpeed
impl PartialEq for TransitionSpeed
Source§fn eq(&self, other: &TransitionSpeed) -> bool
fn eq(&self, other: &TransitionSpeed) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransitionSpeed
Auto Trait Implementations§
impl Freeze for TransitionSpeed
impl RefUnwindSafe for TransitionSpeed
impl Send for TransitionSpeed
impl Sync for TransitionSpeed
impl Unpin for TransitionSpeed
impl UnsafeUnpin for TransitionSpeed
impl UnwindSafe for TransitionSpeed
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