#[non_exhaustive]pub enum AssemblyError {
Show 17 variants
SourceBoneOutOfBounds {
bone: BoneId,
bone_count: usize,
},
AmbiguousSourceName {
name: String,
first: BoneId,
second: BoneId,
},
AmbiguousBaseName {
name: String,
first: BoneId,
second: BoneId,
},
MissingBaseBone {
source_bone: BoneId,
name: String,
},
AmbiguousSelectedName {
name: String,
first: BoneId,
second: BoneId,
},
SelectedBoneOutOfBounds {
bone: BoneId,
bone_count: usize,
},
MissingSelectedName {
name: String,
},
AmbiguousRemovalName {
name: String,
first: BoneId,
second: BoneId,
},
EntireSkeletonSelected,
RemovalTrackReference {
clip_index: usize,
track_index: usize,
bone: BoneId,
},
RemovalMeshInstanceReference {
instance_index: usize,
bone: BoneId,
},
RemovalSkinJointReference {
instance_index: usize,
joint_index: usize,
bone: BoneId,
},
RemovalBoneInverseBindReference {
bone: BoneId,
},
RemovalSourceSkinReference {
source_skin_index: usize,
source_node_index: usize,
bone: BoneId,
},
RemovalSceneRootOutOfBounds {
scene_index: usize,
root_index: usize,
bone: BoneId,
},
RemovalPlanDocumentMismatch,
InvalidRemovalDocument {
violation: DocumentShapeError,
},
}Expand description
Failure while resolving an exact bone name for an assembly operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SourceBoneOutOfBounds
A track references a source bone outside its skeleton.
AmbiguousSourceName
More than one source bone has a referenced exact name.
Fields
AmbiguousBaseName
More than one destination bone has a referenced exact name.
Fields
MissingBaseBone
A referenced source-bone name is absent from the base skeleton.
AmbiguousSelectedName
A supplied named-bone selection is ambiguous in the skeleton.
Fields
SelectedBoneOutOfBounds
A caller-selected completion target is outside the base skeleton.
MissingSelectedName
A requested node name is absent from the assembled skeleton.
AmbiguousRemovalName
A requested node name occurs more than once in the assembled skeleton.
Fields
EntireSkeletonSelected
Removing the selected closures would leave no skeleton nodes.
RemovalTrackReference
A final animation track still targets a selected closure.
Fields
RemovalMeshInstanceReference
A mesh instance is attached to a selected closure.
RemovalSkinJointReference
A skin joint belongs to a selected closure.
Fields
RemovalBoneInverseBindReference
A selected node carries bone-level inverse-bind evidence.
RemovalSourceSkinReference
Complete source-skin evidence references a selected closure.
Fields
RemovalSceneRootOutOfBounds
A declared scene root is outside the skeleton.
Fields
RemovalPlanDocumentMismatch
The document no longer has the skeleton used to build a removal plan.
InvalidRemovalDocument
The strict input or projected document shape is invalid.
Fields
violation: DocumentShapeErrorStrict structural violation.
Trait Implementations§
Source§impl Clone for AssemblyError
impl Clone for AssemblyError
Source§fn clone(&self) -> AssemblyError
fn clone(&self) -> AssemblyError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AssemblyError
impl Debug for AssemblyError
Source§impl Display for AssemblyError
impl Display for AssemblyError
impl Eq for AssemblyError
Source§impl Error for AssemblyError
impl Error for AssemblyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()