[][src]Struct silver_animation::BasicAnimationContainer

pub struct BasicAnimationContainer<Animation, Size, Combined> where
    Animation: BasicAnimation<Size, Combined>,
    Combined: AnimationShape<Size>, 
{ /* fields omitted */ }

The struct used to turn a BasicAnimation into a ContainedAnimation

Implementations

impl<Animation, Size, Combined> BasicAnimationContainer<Animation, Size, Combined> where
    Animation: BasicAnimation<Size, Combined>,
    Combined: AnimationShape<Size>, 
[src]

pub fn unpack(self) -> (Animation, Combined)[src]

Turns the ContainedAnimation back into the SimpleAnimation

Trait Implementations

impl<Animation, Size, Combined> ContainedAnimation<Size, Combined> for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: BasicAnimation<Size, Combined>,
    Combined: AnimationShape<Size>, 
[src]

impl<Animation, T, Size, Combined> EditableState<T> for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: BasicAnimation<Size, Combined> + EditableState<T>,
    Combined: AnimationShape<Size>, 
[src]

impl<Animation, Size, Combined> Resetable for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: BasicAnimation<Size, Combined> + Resetable,
    Combined: AnimationShape<Size>, 
[src]

Auto Trait Implementations

impl<Animation, Size, Combined> RefUnwindSafe for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: RefUnwindSafe,
    Combined: RefUnwindSafe,
    Size: RefUnwindSafe

impl<Animation, Size, Combined> Send for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: Send,
    Combined: Send,
    Size: Send

impl<Animation, Size, Combined> Sync for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: Sync,
    Combined: Sync,
    Size: Sync

impl<Animation, Size, Combined> Unpin for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: Unpin,
    Combined: Unpin,
    Size: Unpin

impl<Animation, Size, Combined> UnwindSafe for BasicAnimationContainer<Animation, Size, Combined> where
    Animation: UnwindSafe,
    Combined: UnwindSafe,
    Size: UnwindSafe

Blanket Implementations

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

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

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

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

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

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.