Struct latex::Paragraph [] [src]

pub struct Paragraph {
    pub elements: Vec<ParagraphElement>,
}

A single paragraph.

Fields

A list of ParagraphElements which make up the paragraph's contents.

Methods

impl Paragraph
[src]

Create a new paragraph.

Add a ParagraphElement to the Paragraph.

Add some raw text to the paragraph.

Trait Implementations

impl Clone for Paragraph
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Paragraph
[src]

Formats the value using the given formatter.

impl Default for Paragraph
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Paragraph
[src]

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

This method tests for !=.

impl Renderable for Paragraph
[src]

Render the item.

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

Performs the conversion.