pub struct CurveSample {
pub value: f32,
pub velocity: f64,
}Expand description
A keyed number at one time.
Fields§
§value: f32The value the evaluator gives, before any property’s range is applied.
velocity: f64The value’s change per second, from the left where the curve has a corner. Finite: a
vertical tangent gives the largest finite f64 with its sign.
Trait Implementations§
Source§impl Clone for CurveSample
impl Clone for CurveSample
impl Copy for CurveSample
Source§impl Debug for CurveSample
impl Debug for CurveSample
Source§impl PartialEq for CurveSample
impl PartialEq for CurveSample
impl StructuralPartialEq for CurveSample
Auto Trait Implementations§
impl Forget for CurveSample
impl Freeze for CurveSample
impl Move for CurveSample
impl RefUnwindSafe for CurveSample
impl Send for CurveSample
impl Sync for CurveSample
impl Unpin for CurveSample
impl UnsafeUnpin for CurveSample
impl UnwindSafe for CurveSample
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