pub struct MatchOutcome {
pub matched: bool,
pub observations: Vec<u64>,
}Expand description
The outcome of a match: whether it matched and which observation indices bound.
Fields§
§matched: boolWhether the pattern matched.
observations: Vec<u64>The indices of the observations that participated in the match.
Trait Implementations§
Source§impl Clone for MatchOutcome
impl Clone for MatchOutcome
Source§fn clone(&self) -> MatchOutcome
fn clone(&self) -> MatchOutcome
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 MatchOutcome
impl Debug for MatchOutcome
impl Eq for MatchOutcome
Source§impl PartialEq for MatchOutcome
impl PartialEq for MatchOutcome
Source§fn eq(&self, other: &MatchOutcome) -> bool
fn eq(&self, other: &MatchOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatchOutcome
Auto Trait Implementations§
impl Freeze for MatchOutcome
impl RefUnwindSafe for MatchOutcome
impl Send for MatchOutcome
impl Sync for MatchOutcome
impl Unpin for MatchOutcome
impl UnsafeUnpin for MatchOutcome
impl UnwindSafe for MatchOutcome
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