pub struct SCurve {
pub dist: f64,
/* private fields */
}Expand description
Seven-segment S-curve over a distance, from rest to rest: jerk up, constant acceleration, jerk down, cruise, and the mirror image.
Fields§
§dist: f64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SCurve
impl<'de> Deserialize<'de> for SCurve
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
Auto Trait Implementations§
impl Freeze for SCurve
impl RefUnwindSafe for SCurve
impl Send for SCurve
impl Sync for SCurve
impl Unpin for SCurve
impl UnsafeUnpin for SCurve
impl UnwindSafe for SCurve
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