pub enum ReflectionGenerationError {
Cell(CellError),
Symmetry(SymmetryError),
InvalidRange,
InvalidCandidateLimit,
CandidateLimitExceeded,
CellSymmetryMismatch,
DegenerateReciprocalMetric,
}Expand description
Reflection generation validation or numerical error.
Variants§
Cell(CellError)
Unit-cell geometry was invalid.
Symmetry(SymmetryError)
Exact group arithmetic failed.
InvalidRange
A physical range was non-finite, reversed, or outside its domain.
InvalidCandidateLimit
Candidate limit was zero.
CandidateLimitExceeded
The safe index box exceeded the configured candidate limit.
CellSymmetryMismatch
The cell metric violates exact rotational constraints.
DegenerateReciprocalMetric
A positive reciprocal-metric eigenvalue could not be obtained.
Trait Implementations§
Source§impl Clone for ReflectionGenerationError
impl Clone for ReflectionGenerationError
Source§fn clone(&self) -> ReflectionGenerationError
fn clone(&self) -> ReflectionGenerationError
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 ReflectionGenerationError
Source§impl Debug for ReflectionGenerationError
impl Debug for ReflectionGenerationError
Source§impl Display for ReflectionGenerationError
impl Display for ReflectionGenerationError
impl Eq for ReflectionGenerationError
Source§impl Error for ReflectionGenerationError
impl Error for ReflectionGenerationError
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 From<CellError> for ReflectionGenerationError
impl From<CellError> for ReflectionGenerationError
Source§impl From<SymmetryError> for ReflectionGenerationError
impl From<SymmetryError> for ReflectionGenerationError
Source§fn from(value: SymmetryError) -> Self
fn from(value: SymmetryError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ReflectionGenerationError
Auto Trait Implementations§
impl Freeze for ReflectionGenerationError
impl RefUnwindSafe for ReflectionGenerationError
impl Send for ReflectionGenerationError
impl Sync for ReflectionGenerationError
impl Unpin for ReflectionGenerationError
impl UnsafeUnpin for ReflectionGenerationError
impl UnwindSafe for ReflectionGenerationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more