Enum latex::Element
[−]
[src]
pub enum Element { Para(Paragraph), Section(Section), TableOfContents, TitlePage, ClearPage, UserDefined(String), // some variants omitted }
The major elements in a Document
.
Variants
Para(Paragraph)
A bare paragraph.
Note
You probably don't want to add a paragraph directly to your document,
instead add it to a Section
so that if you are walking the AST later
on things make sense.
Section(Section)
A section.
TableOfContents
The table of contents.
TitlePage
The title page.
ClearPage
Clear the page.
UserDefined(String)
Any other element.
Trait Implementations
impl Clone for Element
[src]
fn clone(&self) -> Element
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Element
[src]
impl PartialEq for Element
[src]
fn eq(&self, __arg_0: &Element) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Element) -> bool
This method tests for !=
.