pub struct SegmentedCurve { /* private fields */ }Expand description
A Curve confined to a [start, end] sub-interval; see Curve::interval.
Implementations§
Source§impl SegmentedCurve
impl SegmentedCurve
Sourcepub fn transform(self, t: f64) -> f64
pub fn transform(self, t: f64) -> f64
Evaluate at normalized time t (clamped to [0, 1]); see Curve::interval.
Trait Implementations§
Source§impl Clone for SegmentedCurve
impl Clone for SegmentedCurve
impl Copy for SegmentedCurve
Source§impl Debug for SegmentedCurve
impl Debug for SegmentedCurve
Source§impl PartialEq for SegmentedCurve
impl PartialEq for SegmentedCurve
impl StructuralPartialEq for SegmentedCurve
Auto Trait Implementations§
impl Freeze for SegmentedCurve
impl RefUnwindSafe for SegmentedCurve
impl Send for SegmentedCurve
impl Sync for SegmentedCurve
impl Unpin for SegmentedCurve
impl UnsafeUnpin for SegmentedCurve
impl UnwindSafe for SegmentedCurve
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.