[−][src]Struct silver_animation::BasicAnimationContainer
The struct used to turn a BasicAnimation into a ContainedAnimation
Implementations
impl<Animation> BasicAnimationContainer<Animation> where
Animation: BasicAnimation,
[src]
Animation: BasicAnimation,
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]
Animation: BasicAnimation,
fn draw(&mut self, gfx: &mut Graphics) -> Result<()>
[src]
fn set_location(&mut self, location: Vector)
[src]
fn set_size(&mut self, size: Vector)
[src]
fn get_draw_pos(&self) -> Rectangle
[src]
fn get_position(&self) -> Vector
[src]
fn get_size(&self) -> Vector
[src]
impl<Animation, T> EditableState<T> for BasicAnimationContainer<Animation> where
Animation: BasicAnimation + EditableState<T>,
[src]
Animation: BasicAnimation + EditableState<T>,
impl<Animation> Resetable for BasicAnimationContainer<Animation> where
Animation: BasicAnimation + Resetable,
[src]
Animation: BasicAnimation + Resetable,
Auto Trait Implementations
impl<Animation> RefUnwindSafe for BasicAnimationContainer<Animation> where
Animation: RefUnwindSafe,
Animation: RefUnwindSafe,
impl<Animation> Send for BasicAnimationContainer<Animation> where
Animation: Send,
Animation: Send,
impl<Animation> Sync for BasicAnimationContainer<Animation> where
Animation: Sync,
Animation: Sync,
impl<Animation> Unpin for BasicAnimationContainer<Animation> where
Animation: Unpin,
Animation: Unpin,
impl<Animation> UnwindSafe for BasicAnimationContainer<Animation> where
Animation: UnwindSafe,
Animation: 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,
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, 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.
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>,