Struct regex_syntax::hir::print::Writer
source · struct Writer<W> {
wtr: W,
}
Fields§
§wtr: W
Implementations§
Trait Implementations§
source§impl<W: Write> Visitor for Writer<W>
impl<W: Write> Visitor for Writer<W>
source§fn finish(self) -> Result
fn finish(self) -> Result
All implementors of
Visitor
must provide a finish
method, which
yields the result of visiting the HIR or an error.source§fn visit_pre(&mut self, hir: &Hir) -> Result
fn visit_pre(&mut self, hir: &Hir) -> Result
This method is called on an
Hir
before descending into child Hir
nodes.source§fn visit_post(&mut self, hir: &Hir) -> Result
fn visit_post(&mut self, hir: &Hir) -> Result
This method is called on an
Hir
after descending all of its child
Hir
nodes.source§fn visit_alternation_in(&mut self) -> Result
fn visit_alternation_in(&mut self) -> Result
This method is called between child nodes of an alternation.
Auto Trait Implementations§
impl<W> Freeze for Writer<W>where
W: Freeze,
impl<W> RefUnwindSafe for Writer<W>where
W: RefUnwindSafe,
impl<W> Send for Writer<W>where
W: Send,
impl<W> Sync for Writer<W>where
W: Sync,
impl<W> Unpin for Writer<W>where
W: Unpin,
impl<W> UnwindSafe for Writer<W>where
W: UnwindSafe,
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