Struct three::template::AnimationTemplate
source · Expand description
The definition for an animation targeting objects in a Template
.
See the module documentation for more information on template animations and how they are used.
Fields
name: Option<String>
An optional name for the animation.
tracks: Vec<(Track, usize)>
The tracks making up the animation.
Each track is composed of a Track
, containing the data for the track, and the node
that the track targetes, specified as an index into the objects
array of the
parent Template
.
Trait Implementations
sourceimpl Clone for AnimationTemplate
impl Clone for AnimationTemplate
sourcefn clone(&self) -> AnimationTemplate
fn clone(&self) -> AnimationTemplate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for AnimationTemplate
impl Send for AnimationTemplate
impl Sync for AnimationTemplate
impl Unpin for AnimationTemplate
impl UnwindSafe for AnimationTemplate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.