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

A heading. The field indicates the level of the heading.

A list. If the list is ordered the field indicates the number of the first item.

A link. The first field is the destination URL, the second is a title

An image. The first field is the destination URL, the second is a title

Trait Implementations

impl<'a> Clone for Tag<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Tag<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Tag<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.