[][src]Struct latexdef::document::DocumentConfig

pub struct DocumentConfig {
    pub engine: String,
    pub documentclass: Option<String>,
    pub packages: Vec<Package>,
    pub commands: Vec<String>,
    pub expl3: bool,
    pub context: DocumentContext,
}

Fields

engine: Stringdocumentclass: Option<String>packages: Vec<Package>commands: Vec<String>expl3: boolcontext: DocumentContext

Where in the document do we want to examine the definition?

Methods

impl DocumentConfig[src]

pub fn render(&self) -> String[src]

pub fn run(&self) -> Result<String, RunError>[src]

Trait Implementations

impl<'a> From<ArgMatches<'a>> for DocumentConfig[src]

impl Default for DocumentConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]