pub struct AnimationTrack {
pub joint: usize,
pub keyframes: Vec<Keyframe>,
}Expand description
An animation channel: a time-ordered list of keyframes for one joint.
Fields§
§joint: usizeIndex of the joint in the target skeleton this track drives.
keyframes: Vec<Keyframe>Keyframes, expected in ascending time order.
Trait Implementations§
Source§impl Clone for AnimationTrack
impl Clone for AnimationTrack
Source§fn clone(&self) -> AnimationTrack
fn clone(&self) -> AnimationTrack
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 AnimationTrack
impl Debug for AnimationTrack
Source§impl<'de> Deserialize<'de> for AnimationTrack
impl<'de> Deserialize<'de> for AnimationTrack
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 AnimationTrack
impl RefUnwindSafe for AnimationTrack
impl Send for AnimationTrack
impl Sync for AnimationTrack
impl Unpin for AnimationTrack
impl UnsafeUnpin for AnimationTrack
impl UnwindSafe for AnimationTrack
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