[−][src]Struct yoyo_physics::Approximation
Approximation of the value (y-coordinate) and velocity of a curve at the given (unnormalized) time (x-coordinate).
Fields
value: T
This is the y-coordinate of an approximation.
velocity: V
This is the y-coordinate of the derivative at the x-coordinate of this approximation.
Trait Implementations
impl<T: Clone, V: Clone> Clone for Approximation<T, V>
[src]
pub fn clone(&self) -> Approximation<T, V>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy, V: Copy> Copy for Approximation<T, V>
[src]
impl<T: Debug, V: Debug> Debug for Approximation<T, V>
[src]
impl<T: Eq, V: Eq> Eq for Approximation<T, V>
[src]
impl<T: PartialEq, V: PartialEq> PartialEq<Approximation<T, V>> for Approximation<T, V>
[src]
pub fn eq(&self, other: &Approximation<T, V>) -> bool
[src]
pub fn ne(&self, other: &Approximation<T, V>) -> bool
[src]
impl<T, V> StructuralEq for Approximation<T, V>
[src]
impl<T, V> StructuralPartialEq for Approximation<T, V>
[src]
Auto Trait Implementations
impl<T, V> RefUnwindSafe for Approximation<T, V> where
T: RefUnwindSafe,
V: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> Send for Approximation<T, V> where
T: Send,
V: Send,
T: Send,
V: Send,
impl<T, V> Sync for Approximation<T, V> where
T: Sync,
V: Sync,
T: Sync,
V: Sync,
impl<T, V> Unpin for Approximation<T, V> where
T: Unpin,
V: Unpin,
T: Unpin,
V: Unpin,
impl<T, V> UnwindSafe for Approximation<T, V> where
T: UnwindSafe,
V: UnwindSafe,
T: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,