pub struct Anim {
pub shape: usize,
pub effect: String,
pub start: f64,
pub duration: f64,
}Expand description
A resolved animation entry. shape indexes into Drawing::shapes; the
SVG backend gives that shape the id s{shape} so the player can target it.
Fields§
§shape: usize§effect: String§start: f64Absolute start time in seconds.
duration: f64Trait Implementations§
impl StructuralPartialEq for Anim
Auto Trait Implementations§
impl Freeze for Anim
impl RefUnwindSafe for Anim
impl Send for Anim
impl Sync for Anim
impl Unpin for Anim
impl UnsafeUnpin for Anim
impl UnwindSafe for Anim
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