pub struct LexSerializer { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Visitor for LexSerializer
impl Visitor for LexSerializer
fn visit_session(&mut self, session: &Session)
fn leave_session(&mut self, session: &Session)
fn visit_paragraph(&mut self, _paragraph: &Paragraph)
fn visit_text_line(&mut self, text_line: &TextLine)
fn visit_blank_line_group(&mut self, group: &BlankLineGroup)
fn visit_list(&mut self, list: &List)
fn leave_list(&mut self, _list: &List)
fn visit_list_item(&mut self, list_item: &ListItem)
fn leave_list_item(&mut self, _list_item: &ListItem)
fn visit_definition(&mut self, definition: &Definition)
fn leave_definition(&mut self, _definition: &Definition)
fn visit_annotation(&mut self, annotation: &Annotation)
fn leave_annotation(&mut self, annotation: &Annotation)
fn visit_verbatim_block(&mut self, verbatim: &Verbatim)
fn visit_verbatim_group(&mut self, group: &VerbatimGroupItemRef<'_>)
fn leave_verbatim_group(&mut self, _group: &VerbatimGroupItemRef<'_>)
fn visit_verbatim_line(&mut self, verbatim_line: &VerbatimLine)
fn leave_verbatim_block(&mut self, verbatim: &Verbatim)
fn leave_paragraph(&mut self, _paragraph: &Paragraph)
fn leave_text_line(&mut self, _text_line: &TextLine)
fn leave_verbatim_line(&mut self, _verbatim_line: &VerbatimLine)
fn leave_blank_line_group(&mut self, _blank_line_group: &BlankLineGroup)
Auto Trait Implementations§
impl Freeze for LexSerializer
impl !RefUnwindSafe for LexSerializer
impl Send for LexSerializer
impl Sync for LexSerializer
impl Unpin for LexSerializer
impl UnsafeUnpin for LexSerializer
impl !UnwindSafe for LexSerializer
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more