pub enum LayerMask {
Joints(Vec<MaskedJoint>),
Unsupported(String),
}Expand description
Which joints a layer drives, and how strongly (see the module documentation).
Variants§
Joints(Vec<MaskedJoint>)
The listed joints at their weights; a joint not listed has weight 0. Each (skeleton, joint) once.
Unsupported(String)
A mask the source states and core has no form for, or a layer rule it cannot state (the way
Motion::Unsupported names a motion): a non-empty reason. The layer is refused by name, never applied unmasked.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LayerMask
impl<'de> Deserialize<'de> for LayerMask
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LayerMask
Auto Trait Implementations§
impl Forget for LayerMask
impl Freeze for LayerMask
impl RefUnwindSafe for LayerMask
impl Send for LayerMask
impl Sync for LayerMask
impl Unpin for LayerMask
impl UnsafeUnpin for LayerMask
impl UnwindSafe for LayerMask
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