Struct latex::Preamble
[−]
[src]
pub struct Preamble { /* fields omitted */ }
A node representing the document's preamble.
Methods
impl Preamble
[src]
Set the document's author.
fn title(&mut self, name: &str) -> &mut Self
Set the document title.
fn use_package(&mut self, name: &str) -> &mut Self
Add a package import to the preamble.
Trait Implementations
impl Clone for Preamble
[src]
fn clone(&self) -> Preamble
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 Preamble
[src]
impl Default for Preamble
[src]
impl PartialEq for Preamble
[src]
fn eq(&self, __arg_0: &Preamble) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Preamble) -> bool
This method tests for !=
.