[][src]Struct silver_animation::BasicAnimationContainer

pub struct BasicAnimationContainer<Animation> where
    Animation: BasicAnimation
{ /* fields omitted */ }

The struct used to turn a BasicAnimation into a ContainedAnimation

Implementations

impl<Animation> BasicAnimationContainer<Animation> where
    Animation: BasicAnimation
[src]

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

Turns the ContainedAnimation back into the SimpleAnimation

Trait Implementations

impl<Animation> ContainedAnimation for BasicAnimationContainer<Animation> where
    Animation: BasicAnimation
[src]

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

impl<Animation> Resetable for BasicAnimationContainer<Animation> where
    Animation: BasicAnimation + Resetable
[src]

Auto Trait Implementations

impl<Animation> RefUnwindSafe for BasicAnimationContainer<Animation> where
    Animation: RefUnwindSafe

impl<Animation> Send for BasicAnimationContainer<Animation> where
    Animation: Send

impl<Animation> Sync for BasicAnimationContainer<Animation> where
    Animation: Sync

impl<Animation> Unpin for BasicAnimationContainer<Animation> where
    Animation: Unpin

impl<Animation> UnwindSafe for BasicAnimationContainer<Animation> where
    Animation: 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.