[−][src]Struct libslide::grammar::collectors::PatternCollector
Fields
pats: HashSet<&'a str>
Trait Implementations
impl<'a> Default for PatternCollector<'a>
[src]
fn default() -> PatternCollector<'a>
[src]
impl<'a> ExprPatVisitor<'a> for PatternCollector<'a>
[src]
fn visit_var_pat(&mut self, var_pat: &'a str, _span: Span)
[src]
fn visit_const_pat(&mut self, const_pat: &'a str, _span: Span)
[src]
fn visit_any_pat(&mut self, any_pat: &'a str, _span: Span)
[src]
fn visit_expr_pat(&mut self, expr_pat: &'a RcExprPat)
[src]
fn visit_const(&mut self, _konst: &f64)
[src]
fn visit_binary_op(&mut self, _op: BinaryOperator)
[src]
fn visit_binary_expr_pat(&mut self, expr: &'a BinaryExpr<RcExprPat>)
[src]
fn visit_unary_op(&mut self, _op: UnaryOperator)
[src]
fn visit_unary_expr_pat(&mut self, expr: &'a UnaryExpr<RcExprPat>)
[src]
fn visit_parend_expr_pat(&mut self, expr: &'a RcExprPat, span: Span)
[src]
fn visit_bracketed_expr_pat(&mut self, expr: &'a RcExprPat, span: Span)
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for PatternCollector<'a>
impl<'a> Send for PatternCollector<'a>
impl<'a> Sync for PatternCollector<'a>
impl<'a> Unpin for PatternCollector<'a>
impl<'a> UnwindSafe for PatternCollector<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,