pub enum BindingValues {
Transform(FlatTransformValues),
Deform(FlatDeformValues),
Other(JsonValue),
}Expand description
Keyframe values for a binding. Can be transform (scalar) or deformation (vertices).
Variants§
Transform(FlatTransformValues)
Values for transform/opacity properties (1 value per frame).
Deform(FlatDeformValues)
Values for deformation (2D offsets per vertex).
Other(JsonValue)
Fallback for unknown types.
Trait Implementations§
Source§impl Clone for BindingValues
impl Clone for BindingValues
Source§fn clone(&self) -> BindingValues
fn clone(&self) -> BindingValues
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 moreAuto Trait Implementations§
impl Freeze for BindingValues
impl RefUnwindSafe for BindingValues
impl Send for BindingValues
impl Sync for BindingValues
impl Unpin for BindingValues
impl UnsafeUnpin for BindingValues
impl UnwindSafe for BindingValues
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