Enum pandoc_ast::Inline [] [src]

pub enum Inline {
    Str(String),
    Emph(Vec<Inline>),
    Strong(Vec<Inline>),
    Strikeout(Vec<Inline>),
    Superscript(Vec<Inline>),
    Subscript(Vec<Inline>),
    SmallCaps(Vec<Inline>),
    Quoted(QuoteTypeVec<Inline>),
    Cite(Vec<Citation>, Vec<Inline>),
    Code(AttrString),
    Space,
    SoftBreak,
    LineBreak,
    Math(MathTypeString),
    RawInline(FormatString),
    Link(AttrVec<Inline>, Target),
    Image(AttrVec<Inline>, Target),
    Note(Vec<Block>),
    Span(AttrVec<Inline>),
}

a single formatting item like bold, italic or hyperlink

Variants

Str(String)

Text

Emph(Vec<Inline>)

Emphasized text

Strong(Vec<Inline>)

Strongly emphasized text

Strikeout(Vec<Inline>)Superscript(Vec<Inline>)Subscript(Vec<Inline>)SmallCaps(Vec<Inline>)Quoted(QuoteTypeVec<Inline>)

Quoted text

Cite(Vec<Citation>, Vec<Inline>)

Citation

Code(AttrString)

Inline code (literal)

Space

Inter-word space

SoftBreak

Soft line break

LineBreak

Hard line break

Math(MathTypeString)

TeX math (literal)

RawInline(FormatString)Link(AttrVec<Inline>, Target)

Hyperlink: text (list of inlines), target

Image(AttrVec<Inline>, Target)

Image: alt text (list of inlines), target

Note(Vec<Block>)

Footnote or endnote

Span(AttrVec<Inline>)

Generic inline container with attributes

Trait Implementations

impl Debug for Inline
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deserialize for Inline
[src]

fn deserialize<__D>(deserializer: &mut __D) -> Result<Inline, __D::Error> where __D: Deserializer

Deserialize this value given this Deserializer.

impl Serialize for Inline
[src]

fn serialize<S>(&self, ser: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.