#[non_exhaustive]pub enum SkeletonBasisError {
TooManyBones,
TooMuchText,
InvalidParent {
ordinal: usize,
},
InvalidRest {
ordinal: usize,
},
IdentityTooLarge,
}Expand description
Strict skeleton-basis construction failure.
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.
TooManyBones
A basis exceeded its fixed bone limit.
TooMuchText
Authored bone names exceeded the basis text cap before normalization.
InvalidParent
A parent was absent from the required parent-before-child prefix.
InvalidRest
One local-rest translation or quaternion was non-finite or degenerate.
IdentityTooLarge
The normalized identity could not fit the bounded canonical writer.
Trait Implementations§
Source§impl Clone for SkeletonBasisError
impl Clone for SkeletonBasisError
Source§fn clone(&self) -> SkeletonBasisError
fn clone(&self) -> SkeletonBasisError
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 SkeletonBasisError
Source§impl Debug for SkeletonBasisError
impl Debug for SkeletonBasisError
Source§impl Display for SkeletonBasisError
impl Display for SkeletonBasisError
impl Eq for SkeletonBasisError
Source§impl Error for SkeletonBasisError
impl Error for SkeletonBasisError
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()
Source§impl PartialEq for SkeletonBasisError
impl PartialEq for SkeletonBasisError
impl StructuralPartialEq for SkeletonBasisError
Auto Trait Implementations§
impl Freeze for SkeletonBasisError
impl RefUnwindSafe for SkeletonBasisError
impl Send for SkeletonBasisError
impl Sync for SkeletonBasisError
impl Unpin for SkeletonBasisError
impl UnsafeUnpin for SkeletonBasisError
impl UnwindSafe for SkeletonBasisError
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