pub struct Animation<'a> {
pub name: Option<Cow<'a, str>>,
pub samplers: Vec<AnimationSampler<'a>>,
pub channels: Vec<Channel<'a>>,
pub extensions: Option<Extensions<'a>>,
pub extras: Option<Extras<'a>>,
}Expand description
A keyframe animation.
Fields§
§name: Option<Cow<'a, str>>The user-defined name of this object.
samplers: Vec<AnimationSampler<'a>>An array of animation samplers.
channels: Vec<Channel<'a>>An array of animation channels.
extensions: Option<Extensions<'a>>§extras: Option<Extras<'a>>Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Animation<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Animation<'a>
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<'a> Freeze for Animation<'a>
impl<'a> RefUnwindSafe for Animation<'a>
impl<'a> Send for Animation<'a>
impl<'a> Sync for Animation<'a>
impl<'a> Unpin for Animation<'a>
impl<'a> UnsafeUnpin for Animation<'a>
impl<'a> UnwindSafe for Animation<'a>
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