pub struct Animation {
pub name: String,
pub frames: Vec<Frame>,
}Expand description
A tagged animation (one state).
Fields§
§name: String§frames: Vec<Frame>Implementations§
Trait Implementations§
impl Eq for Animation
impl StructuralPartialEq for Animation
Auto Trait Implementations§
impl Forget for Animation
impl Freeze for Animation
impl Move for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnsafeUnpin for Animation
impl UnwindSafe for Animation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more