Struct gluon_parser::infix::Reparser
source · pub struct Reparser<'s, Id: 's> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'a, 's, Id> MutVisitor<'a> for Reparser<'s, Id>where
Id: Eq + Hash + AsRef<str> + Debug + 'a,
impl<'a, 's, Id> MutVisitor<'a> for Reparser<'s, Id>where
Id: Eq + Hash + AsRef<str> + Debug + 'a,
type Ident = Id
fn visit_expr(&mut self, e: &mut SpannedExpr<Self::Ident>)
fn visit_pattern(&mut self, e: &'a mut Spanned<Pattern<Self::Ident>, ByteIndex>)
fn visit_spanned_typed_ident(
&mut self,
id: &'a mut Spanned<TypedIdent<Self::Ident>, ByteIndex>
)
fn visit_ident(&mut self, id: &'a mut TypedIdent<Self::Ident>)
fn visit_alias(
&mut self,
alias: &'a mut Spanned<AliasData<Self::Ident, AstType<Self::Ident>>, ByteIndex>
)
fn visit_spanned_ident(&mut self, _: &'a mut Spanned<Self::Ident, ByteIndex>)
fn visit_typ(&mut self, _: &'a mut ArcType<Self::Ident>)
fn visit_ast_type(
&mut self,
s: &'a mut Spanned<Type<Self::Ident, AstType<Self::Ident>>, ByteIndex>
)
Auto Trait Implementations
impl<'s, Id> !RefUnwindSafe for Reparser<'s, Id>
impl<'s, Id> !Send for Reparser<'s, Id>
impl<'s, Id> !Sync for Reparser<'s, Id>
impl<'s, Id> Unpin for Reparser<'s, Id>where
Id: Unpin,
impl<'s, Id> !UnwindSafe for Reparser<'s, Id>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more