Enum latex::ParagraphElement [] [src]

pub enum ParagraphElement {
    Plain(String),
    Bold(Box<ParagraphElement>),
    Italic(Box<ParagraphElement>),
    InlineCode(String),
}

The various paragraph elements.

For convenience, you can convert from a string to a ParagraphElement using into().

Variants

A plain string.

Bolded text.

Italicized text.

An inline mathematical expression.

Trait Implementations

impl Clone for ParagraphElement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ParagraphElement
[src]

Formats the value using the given formatter.

impl PartialEq for ParagraphElement
[src]

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

This method tests for !=.

impl<'a> From<&'a str> for ParagraphElement
[src]

Performs the conversion.

impl Renderable for ParagraphElement
[src]

Render the item.