#[non_exhaustive]pub enum AffineDomainViolation {
NonUniformScale,
Sheared,
Reflected,
Singular,
NonFinite,
}Expand description
Stable machine-readable reason a positive-uniform affine linear part failed classification.
Core consumers map these typed facts into their own domain-specific diagnostics rather than sharing a broad operation error enum.
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.
NonUniformScale
The linear part’s axis lengths are not equal (non-uniform scale).
Sheared
The linear part’s axes are not mutually orthogonal (shear).
Reflected
The linear part has a negative determinant (reflection).
Singular
The linear part is singular or near-singular.
NonFinite
The linear part contains a non-finite component.
Trait Implementations§
Source§impl Clone for AffineDomainViolation
impl Clone for AffineDomainViolation
Source§fn clone(&self) -> AffineDomainViolation
fn clone(&self) -> AffineDomainViolation
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 AffineDomainViolation
Source§impl Debug for AffineDomainViolation
impl Debug for AffineDomainViolation
impl Eq for AffineDomainViolation
Source§impl PartialEq for AffineDomainViolation
impl PartialEq for AffineDomainViolation
impl StructuralPartialEq for AffineDomainViolation
Auto Trait Implementations§
impl Freeze for AffineDomainViolation
impl RefUnwindSafe for AffineDomainViolation
impl Send for AffineDomainViolation
impl Sync for AffineDomainViolation
impl Unpin for AffineDomainViolation
impl UnsafeUnpin for AffineDomainViolation
impl UnwindSafe for AffineDomainViolation
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