[][src]Struct scribble_curves::lerp::Lerp

pub struct Lerp { /* fields omitted */ }

Implementations

impl Lerp[src]

pub fn identity(start: Time, end: Time) -> Lerp[src]

pub fn first(&self) -> Time[src]

pub fn last(&self) -> Time[src]

pub fn times(&self) -> &[Time][src]

pub fn lerp(&self, t: Time) -> Option<Time>[src]

pub fn lerp_clamped(&self, t: Time) -> Time[src]

pub fn unlerp(&self, t: Time) -> Option<Time>[src]

pub fn unlerp_clamped(&self, t: Time) -> Time[src]

pub fn unlerp_extended(&self, t: Time) -> Time[src]

pub fn add_lerp(&mut self, time_from: Time, time_to: Time)[src]

pub fn with_new_lerp(&self, time_from: Time, time_to: Time) -> Lerp[src]

Trait Implementations

impl Clone for Lerp[src]

impl Debug for Lerp[src]

impl<'de> Deserialize<'de> for Lerp[src]

impl PartialEq<Lerp> for Lerp[src]

impl Serialize for Lerp[src]

impl StructuralPartialEq for Lerp[src]

Auto Trait Implementations

impl RefUnwindSafe for Lerp

impl Send for Lerp

impl Sync for Lerp

impl Unpin for Lerp

impl UnwindSafe for Lerp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AnyEq for T where
    T: PartialEq<T> + Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.