#[non_exhaustive]pub enum SourceProjectionViolation {
ProjectedBoneOutOfRange,
TwoSourceNodesProjectToOneBone,
ParentSourceNodeMissing,
CyclicUnprojectedSourceParentChain,
NearestProjectedParentMismatch,
ProjectedBoneHasUnprojectedSkeletonChild,
}Expand description
The way a complete source-node projection contradicts the skeleton.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProjectedBoneOutOfRange
A projected bone index is outside Skeleton::bones.
TwoSourceNodesProjectToOneBone
Two source-node rows project to the same normalized bone.
ParentSourceNodeMissing
An ancestor walk names a source node absent from the projection table.
CyclicUnprojectedSourceParentChain
An ancestor walk through unprojected rows does not terminate.
NearestProjectedParentMismatch
The nearest projected source ancestor differs from the bone parent.
ProjectedBoneHasUnprojectedSkeletonChild
A projected bone has an unprojected direct skeleton child.
Trait Implementations§
Source§impl Clone for SourceProjectionViolation
impl Clone for SourceProjectionViolation
Source§fn clone(&self) -> SourceProjectionViolation
fn clone(&self) -> SourceProjectionViolation
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 SourceProjectionViolation
Source§impl Debug for SourceProjectionViolation
impl Debug for SourceProjectionViolation
Source§impl Display for SourceProjectionViolation
impl Display for SourceProjectionViolation
impl Eq for SourceProjectionViolation
Source§impl Error for SourceProjectionViolation
impl Error for SourceProjectionViolation
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for SourceProjectionViolation
Auto Trait Implementations§
impl Freeze for SourceProjectionViolation
impl RefUnwindSafe for SourceProjectionViolation
impl Send for SourceProjectionViolation
impl Sync for SourceProjectionViolation
impl Unpin for SourceProjectionViolation
impl UnsafeUnpin for SourceProjectionViolation
impl UnwindSafe for SourceProjectionViolation
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