pub struct SpriteNodeAnimation {
pub animate_interval: u32,
pub animate_last: u32,
pub last_frame: u16,
pub frame_changed: u8,
pub frame_looped: u8,
pub animate_flag: u8,
pub last_speed: f32,
}
Fields§
§animate_interval: u32
§animate_last: u32
§last_frame: u16
§frame_changed: u8
§frame_looped: u8
§animate_flag: u8
§last_speed: f32
Implementations§
Trait Implementations§
Source§impl Clone for SpriteNodeAnimation
impl Clone for SpriteNodeAnimation
Source§fn clone(&self) -> SpriteNodeAnimation
fn clone(&self) -> SpriteNodeAnimation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpriteNodeAnimation
impl Debug for SpriteNodeAnimation
Source§impl Default for SpriteNodeAnimation
impl Default for SpriteNodeAnimation
Source§fn default() -> SpriteNodeAnimation
fn default() -> SpriteNodeAnimation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpriteNodeAnimation
impl RefUnwindSafe for SpriteNodeAnimation
impl Send for SpriteNodeAnimation
impl Sync for SpriteNodeAnimation
impl Unpin for SpriteNodeAnimation
impl UnwindSafe for SpriteNodeAnimation
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