pub struct MatchStatus {
pub in_main_path: bool,
}Expand description
the status of matching.
contains variables / flags affecting the matching operation.
Fields§
§in_main_path: boolwhether the failure of the current match halt the overall matching.
set to true in all expressions except in negation, peak, or, and loop iterations after minimuim.
used to provide better error messages when needed.
Trait Implementations§
Source§impl Clone for MatchStatus
impl Clone for MatchStatus
Source§fn clone(&self) -> MatchStatus
fn clone(&self) -> MatchStatus
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 moreSource§impl Debug for MatchStatus
impl Debug for MatchStatus
Source§impl Default for MatchStatus
impl Default for MatchStatus
Source§impl Hash for MatchStatus
impl Hash for MatchStatus
Source§impl PartialEq for MatchStatus
impl PartialEq for MatchStatus
impl Eq for MatchStatus
impl StructuralPartialEq for MatchStatus
Auto Trait Implementations§
impl Freeze for MatchStatus
impl RefUnwindSafe for MatchStatus
impl Send for MatchStatus
impl Sync for MatchStatus
impl Unpin for MatchStatus
impl UnsafeUnpin for MatchStatus
impl UnwindSafe for MatchStatus
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