Enum pulldown_cmark::Tag
[−]
[src]
pub enum Tag<'a> { Paragraph, Rule, Header(i32), BlockQuote, CodeBlock(Cow<'a, str>), List(Option<usize>), Item, FootnoteDefinition(Cow<'a, str>), Table(Vec<Alignment>), TableHead, TableRow, TableCell, Emphasis, Strong, Code, Link(Cow<'a, str>, Cow<'a, str>), Image(Cow<'a, str>, Cow<'a, str>), }
Variants
Paragraph
Rule
Header(i32)
A heading. The field indicates the level of the heading.
BlockQuote
CodeBlock(Cow<'a, str>)
List(Option<usize>)
A list. If the list is ordered the field indicates the number of the first item.
Item
FootnoteDefinition(Cow<'a, str>)
Table(Vec<Alignment>)
TableHead
TableRow
TableCell
Emphasis
Strong
Code
Link(Cow<'a, str>, Cow<'a, str>)
A link. The first field is the destination URL, the second is a title
Image(Cow<'a, str>, Cow<'a, str>)
An image. The first field is the destination URL, the second is a title
Trait Implementations
impl<'a> Clone for Tag<'a>
[src]
fn clone(&self) -> Tag<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for Tag<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more