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 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>>
pub fn extensions(&self) -> Option<&Map<String, Value>>
Returns extension data unknown to this crate version.
sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Queries extension data unknown to this crate version.
Trait Implementations§
Auto Trait Implementations§
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