pub struct Animation<'a> { /* private fields */ }Expand description
A keyframe animation.
Implementations§
Source§impl<'a> Animation<'a>
impl<'a> Animation<'a>
Sourcepub fn channels(&self) -> Channels<'a> ⓘ
pub fn channels(&self) -> Channels<'a> ⓘ
Returns an Iterator over the animation channels.
Each channel targets an animation’s sampler at a node’s property.
Sourcepub fn name(&self) -> Option<&'a str>
Available on crate feature names only.
pub fn name(&self) -> Option<&'a str>
names only.Optional user-defined name for this object.
Sourcepub fn samplers(&self) -> Samplers<'a> ⓘ
pub fn samplers(&self) -> Samplers<'a> ⓘ
Returns an Iterator over the animation samplers.
Each sampler combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).
Sourcepub fn extensions(&self) -> Option<&Map<String, Value>>
Available on crate feature extensions only.
pub fn extensions(&self) -> Option<&Map<String, Value>>
extensions only.Returns extension data unknown to this crate version.
Sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Available on crate feature extensions only.
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
extensions only.Queries extension data unknown to this crate version.
Trait Implementations§
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> 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