pub enum Element {
Show 37 variants
Text(TextElement),
Comment(CommentElement),
Escape(EscapeElement),
Error(ErrorElement),
Literal(LiteralElement),
Define(DefineElement),
Styled(StyledElement),
Table(TableElement),
List(ListElement),
Fold(FoldElement),
BlockQuote(BlockQuoteElement),
Ruby(RubyElement),
Footnote(FootnoteElement),
Code(CodeElement),
TeX(TeXElement),
Include(IncludeElement),
Category(CategoryElement),
Redirect(RedirectElement),
Media(MediaElement),
ExternalMedia(ExternalMediaElement),
Null(NullElement),
FootnoteRef(FootnoteRefElement),
TimeNow(TimeNowElement),
Age(AgeElement),
Variable(VariableElement),
Mention(MentionElement),
Bold(TextStyleElement),
Italic(TextStyleElement),
Strikethrough(TextStyleElement),
Underline(TextStyleElement),
Superscript(TextStyleElement),
Subscript(TextStyleElement),
SoftBreak(SoftBreakElement),
HardBreak(HardBreakElement),
HLine(HLineElement),
Header(HeaderElement),
If(IfElement),
}Expand description
메인 SevenMark AST Element enum
Variants§
Text(TextElement)
Comment(CommentElement)
Escape(EscapeElement)
Error(ErrorElement)
Literal(LiteralElement)
Define(DefineElement)
Styled(StyledElement)
Table(TableElement)
List(ListElement)
Fold(FoldElement)
BlockQuote(BlockQuoteElement)
Ruby(RubyElement)
Footnote(FootnoteElement)
Code(CodeElement)
TeX(TeXElement)
Include(IncludeElement)
Category(CategoryElement)
Redirect(RedirectElement)
Media(MediaElement)
ExternalMedia(ExternalMediaElement)
Null(NullElement)
FootnoteRef(FootnoteRefElement)
TimeNow(TimeNowElement)
Age(AgeElement)
Variable(VariableElement)
Mention(MentionElement)
Bold(TextStyleElement)
Italic(TextStyleElement)
Strikethrough(TextStyleElement)
Underline(TextStyleElement)
Superscript(TextStyleElement)
Subscript(TextStyleElement)
SoftBreak(SoftBreakElement)
HardBreak(HardBreakElement)
HLine(HLineElement)
Header(HeaderElement)
If(IfElement)
Implementations§
Trait Implementations§
Source§impl Traversable for Element
impl Traversable for Element
Source§fn traverse_children<F>(&mut self, visitor: &mut F)
fn traverse_children<F>(&mut self, visitor: &mut F)
각 자식 요소에 대해 visitor 호출 (mutable)
Source§fn traverse_children_ref<F>(&self, visitor: &mut F)
fn traverse_children_ref<F>(&self, visitor: &mut F)
각 자식 요소에 대해 visitor 호출 (immutable)
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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