pub enum MorphMethod {
Normalized,
Relative,
}Expand description
Which blending technique to use.
Variants§
Normalized
(Target1, Target2, ...)*(w1, w2, ...) =
(1-w1-w2-...)*BaseMesh + w1*Target1 + w2*Target2 + ...Relative
(Target1, Target2, ...) + (w1, w2, ...) =
BaseMesh + w1*Target1 + w2*Target2 + ...Implementations§
Trait Implementations§
Source§impl Clone for MorphMethod
impl Clone for MorphMethod
Source§fn clone(&self) -> MorphMethod
fn clone(&self) -> MorphMethod
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 moreimpl Copy for MorphMethod
Source§impl Debug for MorphMethod
impl Debug for MorphMethod
Source§impl Default for MorphMethod
impl Default for MorphMethod
Source§impl Display for MorphMethod
impl Display for MorphMethod
impl Eq for MorphMethod
Source§impl FromStr for MorphMethod
impl FromStr for MorphMethod
Source§impl PartialEq for MorphMethod
impl PartialEq for MorphMethod
Source§fn eq(&self, other: &MorphMethod) -> bool
fn eq(&self, other: &MorphMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MorphMethod
Auto Trait Implementations§
impl Freeze for MorphMethod
impl RefUnwindSafe for MorphMethod
impl Send for MorphMethod
impl Sync for MorphMethod
impl Unpin for MorphMethod
impl UnsafeUnpin for MorphMethod
impl UnwindSafe for MorphMethod
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