Enum orgize::elements::Element[][src]

pub enum Element<'a> {
Show 44 variants SpecialBlock(SpecialBlock<'a>), QuoteBlock(QuoteBlock<'a>), CenterBlock(CenterBlock<'a>), VerseBlock(VerseBlock<'a>), CommentBlock(CommentBlock<'a>), ExampleBlock(ExampleBlock<'a>), ExportBlock(ExportBlock<'a>), SourceBlock(SourceBlock<'a>), BabelCall(BabelCall<'a>), Section, Clock(Clock<'a>), Cookie(Cookie<'a>), RadioTarget, Drawer(Drawer<'a>), Document { pre_blank: usize, }, DynBlock(DynBlock<'a>), FnDef(FnDef<'a>), FnRef(FnRef<'a>), Headline { level: usize, }, InlineCall(InlineCall<'a>), InlineSrc(InlineSrc<'a>), Keyword(Keyword<'a>), Link(Link<'a>), List(List), ListItem(ListItem<'a>), Macros(Macros<'a>), Snippet(Snippet<'a>), Text { value: Cow<'a, str>, }, Paragraph { post_blank: usize, }, Rule(Rule), Timestamp(Timestamp<'a>), Target(Target<'a>), Bold, Strike, Italic, Underline, Verbatim { value: Cow<'a, str>, }, Code { value: Cow<'a, str>, }, Comment(Comment<'a>), FixedWidth(FixedWidth<'a>), Title(Title<'a>), Table(Table<'a>), TableRow(TableRow), TableCell(TableCell),
}
Expand description

Element Enum

Variants

SpecialBlock(SpecialBlock<'a>)

Tuple Fields of SpecialBlock

0: SpecialBlock<'a>
QuoteBlock(QuoteBlock<'a>)

Tuple Fields of QuoteBlock

0: QuoteBlock<'a>
CenterBlock(CenterBlock<'a>)

Tuple Fields of CenterBlock

0: CenterBlock<'a>
VerseBlock(VerseBlock<'a>)

Tuple Fields of VerseBlock

0: VerseBlock<'a>
CommentBlock(CommentBlock<'a>)

Tuple Fields of CommentBlock

0: CommentBlock<'a>
ExampleBlock(ExampleBlock<'a>)

Tuple Fields of ExampleBlock

0: ExampleBlock<'a>
ExportBlock(ExportBlock<'a>)

Tuple Fields of ExportBlock

0: ExportBlock<'a>
SourceBlock(SourceBlock<'a>)

Tuple Fields of SourceBlock

0: SourceBlock<'a>
BabelCall(BabelCall<'a>)

Tuple Fields of BabelCall

0: BabelCall<'a>
Section
Clock(Clock<'a>)

Tuple Fields of Clock

0: Clock<'a>
Cookie(Cookie<'a>)

Tuple Fields of Cookie

0: Cookie<'a>
RadioTarget
Drawer(Drawer<'a>)

Tuple Fields of Drawer

0: Drawer<'a>
Document

Fields of Document

pre_blank: usize
DynBlock(DynBlock<'a>)

Tuple Fields of DynBlock

0: DynBlock<'a>
FnDef(FnDef<'a>)

Tuple Fields of FnDef

0: FnDef<'a>
FnRef(FnRef<'a>)

Tuple Fields of FnRef

0: FnRef<'a>
Headline

Fields of Headline

level: usize
InlineCall(InlineCall<'a>)

Tuple Fields of InlineCall

0: InlineCall<'a>
InlineSrc(InlineSrc<'a>)

Tuple Fields of InlineSrc

0: InlineSrc<'a>
Keyword(Keyword<'a>)

Tuple Fields of Keyword

0: Keyword<'a>

Tuple Fields of Link

0: Link<'a>
List(List)

Tuple Fields of List

0: List
ListItem(ListItem<'a>)

Tuple Fields of ListItem

0: ListItem<'a>
Macros(Macros<'a>)

Tuple Fields of Macros

0: Macros<'a>
Snippet(Snippet<'a>)

Tuple Fields of Snippet

0: Snippet<'a>
Text

Fields of Text

value: Cow<'a, str>
Paragraph

Fields of Paragraph

post_blank: usize
Rule(Rule)

Tuple Fields of Rule

0: Rule
Timestamp(Timestamp<'a>)

Tuple Fields of Timestamp

0: Timestamp<'a>
Target(Target<'a>)

Tuple Fields of Target

0: Target<'a>
Bold
Strike
Italic
Underline
Verbatim

Fields of Verbatim

value: Cow<'a, str>
Code

Fields of Code

value: Cow<'a, str>
Comment(Comment<'a>)

Tuple Fields of Comment

0: Comment<'a>
FixedWidth(FixedWidth<'a>)

Tuple Fields of FixedWidth

0: FixedWidth<'a>
Title(Title<'a>)

Tuple Fields of Title

0: Title<'a>
Table(Table<'a>)

Tuple Fields of Table

0: Table<'a>
TableRow(TableRow)

Tuple Fields of TableRow

0: TableRow
TableCell(TableCell)

Tuple Fields of TableCell

0: TableCell

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.