pub struct ObservationResult {
pub sign: ResidualSign,
pub grammar_state: GrammarState,
pub envelope_position: EnvelopePosition,
pub heuristic_match: MatchResult,
pub reason_evidence: ReasonEvidence,
pub transition: Option<GrammarTransition>,
pub completed_episode: Option<Episode>,
}Expand description
Observation result from a single observe() call.
Fields§
§sign: ResidualSignThe computed residual sign (r, ω, α).
grammar_state: GrammarStateCurrent grammar state after this observation.
envelope_position: EnvelopePositionEnvelope position classification.
heuristic_match: MatchResultHeuristic match result (reason code + confidence).
reason_evidence: ReasonEvidenceHuman-readable evidence for the emitted reason code.
transition: Option<GrammarTransition>Grammar transition, if one occurred at this step.
completed_episode: Option<Episode>Completed episode, if a grammar transition closed the previous one.
Trait Implementations§
Source§impl Clone for ObservationResult
impl Clone for ObservationResult
Source§fn clone(&self) -> ObservationResult
fn clone(&self) -> ObservationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObservationResult
impl RefUnwindSafe for ObservationResult
impl Send for ObservationResult
impl Sync for ObservationResult
impl Unpin for ObservationResult
impl UnsafeUnpin for ObservationResult
impl UnwindSafe for ObservationResult
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