pub enum DragEasing {
Linear,
EaseInOutCubic,
EaseOutQuad,
}Expand description
Speed curve used while generating drag motion.
Variants§
Linear
Linear speed, without acceleration.
EaseInOutCubic
Smooth ease-in/ease-out cubic profile.
EaseOutQuad
Quick start with a slower finish.
Trait Implementations§
Source§impl Clone for DragEasing
impl Clone for DragEasing
Source§fn clone(&self) -> DragEasing
fn clone(&self) -> DragEasing
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 DragEasing
impl Debug for DragEasing
Source§impl Default for DragEasing
impl Default for DragEasing
Source§fn default() -> DragEasing
fn default() -> DragEasing
Returns the “default value” for a type. Read more
impl Copy for DragEasing
Auto Trait Implementations§
impl Freeze for DragEasing
impl RefUnwindSafe for DragEasing
impl Send for DragEasing
impl Sync for DragEasing
impl Unpin for DragEasing
impl UnwindSafe for DragEasing
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