[][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,


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

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


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>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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