pub struct PipelineDslGeneratorConstraints {
pub mutex: Vec<Vec<String>>,
pub requires: Vec<[String; 2]>,
pub exclude: Vec<[String; 2]>,
}Expand description
Operator-content pruning constraints on a PipelineDslGeneratorStep (ADR-17 1a/1b). Each ref is
an operator-content label — a generator branch/option id (_or_) or branch id (_cartesian_),
the operator class nirs4all carries in its _mutex_/_requires_/_exclude_. The keywords mirror
the nirs4all generation oracle (_generator/constraints.py): mutex = the full group may not all
co-occur (issubset), requires = [a, b] means a present requires b present, exclude = [a, b]
is a forbidden pair. Compiled to a single-dimension GenerationConstraints over the operator
dimension and applied during sequence-build, NOT carried onto OperatorVariantModel.generation_spec.
Fields§
§mutex: Vec<Vec<String>>§requires: Vec<[String; 2]>§exclude: Vec<[String; 2]>Implementations§
Trait Implementations§
Source§impl Clone for PipelineDslGeneratorConstraints
impl Clone for PipelineDslGeneratorConstraints
Source§fn clone(&self) -> PipelineDslGeneratorConstraints
fn clone(&self) -> PipelineDslGeneratorConstraints
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 Default for PipelineDslGeneratorConstraints
impl Default for PipelineDslGeneratorConstraints
Source§fn default() -> PipelineDslGeneratorConstraints
fn default() -> PipelineDslGeneratorConstraints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PipelineDslGeneratorConstraints
impl<'de> Deserialize<'de> for PipelineDslGeneratorConstraints
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PipelineDslGeneratorConstraints, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PipelineDslGeneratorConstraints, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PipelineDslGeneratorConstraints
impl PartialEq for PipelineDslGeneratorConstraints
Source§fn eq(&self, other: &PipelineDslGeneratorConstraints) -> bool
fn eq(&self, other: &PipelineDslGeneratorConstraints) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PipelineDslGeneratorConstraints
impl Serialize for PipelineDslGeneratorConstraints
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PipelineDslGeneratorConstraints
Auto Trait Implementations§
impl Freeze for PipelineDslGeneratorConstraints
impl RefUnwindSafe for PipelineDslGeneratorConstraints
impl Send for PipelineDslGeneratorConstraints
impl Sync for PipelineDslGeneratorConstraints
impl Unpin for PipelineDslGeneratorConstraints
impl UnsafeUnpin for PipelineDslGeneratorConstraints
impl UnwindSafe for PipelineDslGeneratorConstraints
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