pub struct MonoSpline { /* private fields */ }Expand description
A monotone cubic Hermite spline for C1-continuous interpolation of f32 values.
Uses the Fritsch–Carlson method to compute tangents that preserve monotonicity
and prevent overshoot. Based on Android Compose’s MonoSpline.
Implementations§
Trait Implementations§
Source§impl Clone for MonoSpline
impl Clone for MonoSpline
Source§fn clone(&self) -> MonoSpline
fn clone(&self) -> MonoSpline
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 moreAuto Trait Implementations§
impl Freeze for MonoSpline
impl RefUnwindSafe for MonoSpline
impl Send for MonoSpline
impl Sync for MonoSpline
impl Unpin for MonoSpline
impl UnsafeUnpin for MonoSpline
impl UnwindSafe for MonoSpline
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