pub struct AnimationInfo {
pub id: f64,
pub frames: Vec<f64>,
pub repeats: Option<f64>,
pub active_frame: Option<f64>,
}Expand description
TS Animations.animations[] element.
Fields§
§id: f64§frames: Vec<f64>§repeats: Option<f64>§active_frame: Option<f64>Trait Implementations§
Source§impl Clone for AnimationInfo
impl Clone for AnimationInfo
Source§fn clone(&self) -> AnimationInfo
fn clone(&self) -> AnimationInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnimationInfo
impl Debug for AnimationInfo
Source§impl Default for AnimationInfo
impl Default for AnimationInfo
Source§fn default() -> AnimationInfo
fn default() -> AnimationInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnimationInfo
impl RefUnwindSafe for AnimationInfo
impl Send for AnimationInfo
impl Sync for AnimationInfo
impl Unpin for AnimationInfo
impl UnsafeUnpin for AnimationInfo
impl UnwindSafe for AnimationInfo
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