pub struct MotionSpringConfig {
pub mass: f64,
pub stiffness: f64,
pub damping: f64,
pub threshold: f64,
pub bounce_start: bool,
pub bounce_end: bool,
}Fields§
§mass: f64§stiffness: f64§damping: f64§threshold: f64§bounce_start: bool§bounce_end: boolTrait Implementations§
Source§impl Clone for MotionSpringConfig
impl Clone for MotionSpringConfig
impl Copy for MotionSpringConfig
Auto Trait Implementations§
impl Forget for MotionSpringConfig
impl Freeze for MotionSpringConfig
impl Move for MotionSpringConfig
impl RefUnwindSafe for MotionSpringConfig
impl Send for MotionSpringConfig
impl Sync for MotionSpringConfig
impl Unpin for MotionSpringConfig
impl UnsafeUnpin for MotionSpringConfig
impl UnwindSafe for MotionSpringConfig
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