pub enum ValidationWarning {
DegenerateGeometric {
strategy: StrategyName,
},
LhsDegenerate,
TriviallyTrueFilter,
TriviallyFalseFilter,
SingletonCombinator {
combinator: &'static str,
},
}Expand description
Non-blocking warning for degenerate-but-defined compositions per spec §5.8.
Variants§
DegenerateGeometric
Lattice-geometric strategy (Extrema / Shells /
Diagonal / Antidiagonal) over a 1-axis input.
Collapses to {first, last} or a trivial walk; usually
not what the author meant.
Fields
§
strategy: StrategyNameThe strategy applied.
LhsDegenerate
Lhs over a 1-axis input. Equivalent to Shuffle;
two names for one behavior.
TriviallyTrueFilter
filter(c, "true"). Empty-effect filter — usually a
bug-shaped predicate. The optimizer’s R0a elides it.
TriviallyFalseFilter
filter(c, "false"). Empty dispense sequence. If
intentional, use an empty literal source; otherwise the
predicate is bug-shaped.
SingletonCombinator
Singleton variant of a combinator: zip([c], _),
cartesian(c), union(c). Identity per spec §4.2 I1-I3;
the optimizer’s R0a elides it.
Trait Implementations§
Source§impl Clone for ValidationWarning
impl Clone for ValidationWarning
Source§fn clone(&self) -> ValidationWarning
fn clone(&self) -> ValidationWarning
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 moreSource§impl Debug for ValidationWarning
impl Debug for ValidationWarning
Source§impl PartialEq for ValidationWarning
impl PartialEq for ValidationWarning
impl StructuralPartialEq for ValidationWarning
Auto Trait Implementations§
impl Freeze for ValidationWarning
impl RefUnwindSafe for ValidationWarning
impl Send for ValidationWarning
impl Sync for ValidationWarning
impl Unpin for ValidationWarning
impl UnsafeUnpin for ValidationWarning
impl UnwindSafe for ValidationWarning
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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