pub struct PandocExportOptions {
pub image_mode: ImageMode,
pub artifacts_dir: String,
pub layers: ContentLayers,
pub api_version: Option<String>,
}Expand description
Options for to_pandoc.
Fields§
§image_mode: ImageModeHow pictures carry their image (see the module docs); Embedded by
default, so the AST alone rebuilds a document with its pictures.
artifacts_dir: StringThe directory referenced images are written under
(<artifacts_dir>/image_NNNNNN.<ext>, the Markdown export’s names).
layers: ContentLayersThe content layers written; body only by default.
api_version: Option<String>The Pandoc API version the caller needs ("1.23", "1.23.1.1", …);
None = PANDOC_API_VERSION. Only that API is supported.
Trait Implementations§
Source§impl Clone for PandocExportOptions
impl Clone for PandocExportOptions
Source§impl Debug for PandocExportOptions
impl Debug for PandocExportOptions
Auto Trait Implementations§
impl Freeze for PandocExportOptions
impl RefUnwindSafe for PandocExportOptions
impl Send for PandocExportOptions
impl Sync for PandocExportOptions
impl Unpin for PandocExportOptions
impl UnsafeUnpin for PandocExportOptions
impl UnwindSafe for PandocExportOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more