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
Plain(String)
A plain string.
Bold(Box<ParagraphElement>)
Bolded text.
Italic(Box<ParagraphElement>)
Italicized text.
InlineCode(String)
An inline mathematical expression.
Trait Implementations
impl Clone for ParagraphElement
[src]
fn clone(&self) -> ParagraphElement
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 ParagraphElement
[src]
impl PartialEq for ParagraphElement
[src]
fn eq(&self, __arg_0: &ParagraphElement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParagraphElement) -> bool
This method tests for !=
.