Struct rin::blender::ActionBlend[][src]

pub struct ActionBlend<A1, A2> { /* fields omitted */ }

Blends two actions with a weight to lerp between the two

Implementations

impl<A1, A2> ActionBlend<A1, A2> where
    A1: ActionExt,
    A2: ActionExt
[src]

pub fn new(action1: A1, action2: A2, weight: f32) -> ActionBlend<A1, A2>[src]

impl<A1, A2> ActionBlend<A1, A2>[src]

pub fn set_weight(&mut self, weight: f32)[src]

pub fn into_actions(self) -> (A1, A2)[src]

pub fn action1(&self) -> &A1[src]

pub fn action2(&self) -> &A2[src]

Trait Implementations

impl<A1, A2> ActionExt for ActionBlend<A1, A2> where
    A1: ActionExt,
    A2: ActionExt
[src]

impl<A1, A2> ActionNeedsUpdate for ActionBlend<A1, A2> where
    A1: ActionNeedsUpdate,
    A2: ActionNeedsUpdate
[src]

impl<A1, A2> ActionUpdate for ActionBlend<A1, A2> where
    A1: ActionUpdate,
    A2: ActionUpdate
[src]

impl<A1, A2> Clone for ActionBlend<A1, A2> where
    A1: Clone,
    A2: Clone
[src]

impl<A1, A2> Debug for ActionBlend<A1, A2> where
    A1: Debug,
    A2: Debug
[src]

impl<'de, A1, A2> Deserialize<'de> for ActionBlend<A1, A2> where
    A1: Deserialize<'de>,
    A2: Deserialize<'de>, 
[src]

impl<A1, A2> Serialize for ActionBlend<A1, A2> where
    A1: Serialize,
    A2: Serialize
[src]

Auto Trait Implementations

impl<A1, A2> RefUnwindSafe for ActionBlend<A1, A2> where
    A1: RefUnwindSafe,
    A2: RefUnwindSafe

impl<A1, A2> Send for ActionBlend<A1, A2> where
    A1: Send,
    A2: Send

impl<A1, A2> Sync for ActionBlend<A1, A2> where
    A1: Sync,
    A2: Sync

impl<A1, A2> Unpin for ActionBlend<A1, A2> where
    A1: Unpin,
    A2: Unpin

impl<A1, A2> UnwindSafe for ActionBlend<A1, A2> where
    A1: UnwindSafe,
    A2: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<A> ActionUpdateExt for A where
    A: ActionExt + ActionUpdate
[src]

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