pub struct Match { /* private fields */ }Implementations§
Source§impl Match
impl Match
pub fn new(range_of_match_keyword: Range, value: ValueContext) -> Self
pub fn value(&self) -> &ValueContext
Trait Implementations§
Source§impl HasCommandInvocation for Match
impl HasCommandInvocation for Match
fn command_invocation(&self, on_found: &mut dyn FnMut(Range))
Source§impl HasVariableReference for Match
impl HasVariableReference for Match
fn var_references(&self, on_found: &mut dyn FnMut(&VariableReference))
Source§impl HasWarnings for Match
impl HasWarnings for Match
fn all_warnings(&self, on_found: &mut dyn FnMut(&ParsingError))
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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