pub enum AnimationValues {
Vec3(Vec<[f32; 3]>),
Quat(Vec<[f32; 4]>),
Scalar(Vec<f32>),
}Expand description
Type of each keyframe value. The variant must match the bound
AnimationProperty: Translation/Scale → Vec3,
Rotation → Quat, MorphWeights →
Scalar (concatenated weight vectors).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AnimationValues
impl Clone for AnimationValues
Source§fn clone(&self) -> AnimationValues
fn clone(&self) -> AnimationValues
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 AnimationValues
impl Debug for AnimationValues
Source§impl PartialEq for AnimationValues
impl PartialEq for AnimationValues
impl StructuralPartialEq for AnimationValues
Auto Trait Implementations§
impl Freeze for AnimationValues
impl RefUnwindSafe for AnimationValues
impl Send for AnimationValues
impl Sync for AnimationValues
impl Unpin for AnimationValues
impl UnsafeUnpin for AnimationValues
impl UnwindSafe for AnimationValues
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