pub struct Ramp { /* private fields */ }Expand description
A ramp from rest to a speed speed in time: an S-curve’s (jerk for tj, constant acceleration, jerk back for
tj) or a sin²’s. It covers speed * time / 2 (both are symmetric about their middle).
Trait Implementations§
impl Copy for Ramp
Source§impl<'de> Deserialize<'de> for Ramp
impl<'de> Deserialize<'de> for Ramp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Ramp
Auto Trait Implementations§
impl Freeze for Ramp
impl RefUnwindSafe for Ramp
impl Send for Ramp
impl Sync for Ramp
impl Unpin for Ramp
impl UnsafeUnpin for Ramp
impl UnwindSafe for Ramp
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