[][src]Enum pandoc_ast::Inline

pub enum Inline {
    Str(String),
    Emph(Vec<Inline>),
    Underline(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

Underline(Vec<Inline>)

Underlined text

Strong(Vec<Inline>)

Strongly emphasized text

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

Quoted text

Citation

Code(AttrString)

Inline code (literal)

Space

Inter-word space

SoftBreak

Soft line break

LineBreak

Hard line break

TeX math (literal)

RawInline(FormatString)

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 Clone for Inline[src]

impl Debug for Inline[src]

impl<'de> Deserialize<'de> for Inline[src]

impl PartialEq<Inline> for Inline[src]

impl Serialize for Inline[src]

impl StructuralPartialEq for Inline[src]

Auto Trait Implementations

impl RefUnwindSafe for Inline

impl Send for Inline

impl Sync for Inline

impl Unpin for Inline

impl UnwindSafe for Inline

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.