pub struct ImportedAnimation {
pub name: String,
pub duration: f32,
pub tracks: Vec<AnimationTrack>,
}Expand description
A complete imported animation clip.
Fields§
§name: StringAnimation name (from source file).
duration: f32Duration in seconds.
tracks: Vec<AnimationTrack>Animation tracks.
Implementations§
Trait Implementations§
Source§impl Clone for ImportedAnimation
impl Clone for ImportedAnimation
Source§fn clone(&self) -> ImportedAnimation
fn clone(&self) -> ImportedAnimation
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 ImportedAnimation
impl Debug for ImportedAnimation
Source§impl<'de> Deserialize<'de> for ImportedAnimation
impl<'de> Deserialize<'de> for ImportedAnimation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImportedAnimation
impl RefUnwindSafe for ImportedAnimation
impl Send for ImportedAnimation
impl Sync for ImportedAnimation
impl Unpin for ImportedAnimation
impl UnsafeUnpin for ImportedAnimation
impl UnwindSafe for ImportedAnimation
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