#[non_exhaustive]pub enum LayeredFieldError {
Show 14 variants
InvalidInterval,
NonDisjointIntervals,
CellBudgetExceeded,
InvalidFrame,
InvalidBounds,
InvalidCellSize,
NonFiniteGeometry,
InvalidDimensions,
SampleBudgetExceeded,
UnbalancedCrossings,
DegenerateOccupancy,
InvalidEnvelope,
NodeOutsideField,
DimensionMismatch,
}Expand description
Invalid layered-field input, malformed topology, or exhausted caller budget.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidInterval
An interval endpoint was non-finite or did not satisfy start < end.
NonDisjointIntervals
Two occupancy intervals overlap or touch; merging would change topology.
CellBudgetExceeded
The requested local-grid dimensions exceed the caller budget.
InvalidFrame
Frame axes are non-finite, non-orthonormal, or left-handed.
InvalidBounds
Local bounds are non-finite or degenerate on some axis.
InvalidCellSize
Cell size is non-finite or not strictly positive.
NonFiniteGeometry
Input geometry carried a non-finite coordinate.
InvalidDimensions
Field dimensions cannot be represented or contain no cells.
SampleBudgetExceeded
Stored layers exceeded the caller-owned layer budget.
UnbalancedCrossings
A cell’s crossing sequence is not an alternating enter/exit sequence.
DegenerateOccupancy
A derived occupancy span collapsed to within the linear tolerance.
InvalidEnvelope
A traversal envelope value was non-finite or negative.
NodeOutsideField
A referenced cell or support level does not exist in the field.
DimensionMismatch
Two fields or masks do not share identical dimensions.
Trait Implementations§
Source§impl Clone for LayeredFieldError
impl Clone for LayeredFieldError
Source§fn clone(&self) -> LayeredFieldError
fn clone(&self) -> LayeredFieldError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LayeredFieldError
impl Debug for LayeredFieldError
Source§impl Display for LayeredFieldError
impl Display for LayeredFieldError
Source§impl Error for LayeredFieldError
impl Error for LayeredFieldError
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
Source§impl PartialEq for LayeredFieldError
impl PartialEq for LayeredFieldError
impl Copy for LayeredFieldError
impl Eq for LayeredFieldError
impl StructuralPartialEq for LayeredFieldError
Auto Trait Implementations§
impl Freeze for LayeredFieldError
impl RefUnwindSafe for LayeredFieldError
impl Send for LayeredFieldError
impl Sync for LayeredFieldError
impl Unpin for LayeredFieldError
impl UnwindSafe for LayeredFieldError
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
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>
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>
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