pub struct TypstExportOptions {
pub image_mode: ImageMode,
pub artifacts_dir: String,
}Expand description
Options for DoclingDocument::export_to_typst_with.
Fields§
§image_mode: ImageModeHow pictures carry their image: ImageMode::Referenced writes
#image("<artifacts_dir>/image_NNNNNN.<ext>") and returns the
files; any other mode is the placeholder (see the module docs).
artifacts_dir: StringThe directory referenced images are named under.
Trait Implementations§
Source§impl Clone for TypstExportOptions
impl Clone for TypstExportOptions
Source§impl Debug for TypstExportOptions
impl Debug for TypstExportOptions
Auto Trait Implementations§
impl Forget for TypstExportOptions
impl Freeze for TypstExportOptions
impl Move for TypstExportOptions
impl RefUnwindSafe for TypstExportOptions
impl Send for TypstExportOptions
impl Sync for TypstExportOptions
impl Unpin for TypstExportOptions
impl UnsafeUnpin for TypstExportOptions
impl UnwindSafe for TypstExportOptions
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