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
ParagraphRuleHeader(i32)A heading. The field indicates the level of the heading.
BlockQuoteCodeBlock(Cow<'a, str>)List(Option<usize>)A list. If the list is ordered the field indicates the number of the first item.
ItemFootnoteDefinition(Cow<'a, str>)Table(Vec<Alignment>)TableHeadTableRowTableCellEmphasisStrongCodeLink(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