pub struct OmenaFixtureCascadeV0 {
pub winner_id: String,
pub witness_ids: Vec<String>,
}Expand description
Minimal cascade-outcome projection consumed by the fixture evaluator.
The engine produces a CascadeOutcome (omena-cascade) per resolved scope;
the consumer projects the winning declaration id and the witness set (the
winner plus every also-considered/challenger declaration that participated
in the cascade comparison) so omena-testkit need not depend on
omena-cascade. A cascade-outcome <id> expectation passes when <id>
equals winner_id; a cascade-witness <id> expectation
passes when <id> appears in witness_ids.
Fields§
§winner_id: StringWinning declaration id for the resolved scope, e.g. decl-1.
witness_ids: Vec<String>Declaration ids that participated in the cascade as witnesses.
This is the winner plus every also-considered/challenger declaration the
engine ranked, so a cascade-witness assertion can name any declaration
that took part in the comparison, not just the winner.
Implementations§
Trait Implementations§
Source§impl Clone for OmenaFixtureCascadeV0
impl Clone for OmenaFixtureCascadeV0
Source§fn clone(&self) -> OmenaFixtureCascadeV0
fn clone(&self) -> OmenaFixtureCascadeV0
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more