pub struct RenderOptions {
pub theme: ThemePreset,
pub metadata: PdfMetadata,
pub custom_css: Option<String>,
pub enable_toc: bool,
pub sanitize_html: bool,
pub mermaid_mode: MermaidMode,
pub math_mode: MathMode,
pub mermaid_timeout_ms: u32,
pub math_timeout_ms: u32,
pub runtime_assets_base_url: Option<String>,
}Fields§
§theme: ThemePreset§metadata: PdfMetadata§custom_css: Option<String>§enable_toc: bool§sanitize_html: bool§mermaid_mode: MermaidMode§math_mode: MathMode§mermaid_timeout_ms: u32§math_timeout_ms: u32§runtime_assets_base_url: Option<String>Trait Implementations§
Source§impl Clone for RenderOptions
impl Clone for RenderOptions
Source§fn clone(&self) -> RenderOptions
fn clone(&self) -> RenderOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderOptions
impl Debug for RenderOptions
Source§impl Default for RenderOptions
impl Default for RenderOptions
Source§impl<'de> Deserialize<'de> for RenderOptions
impl<'de> Deserialize<'de> for RenderOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RenderOptions
impl PartialEq for RenderOptions
Source§impl Serialize for RenderOptions
impl Serialize for RenderOptions
impl Eq for RenderOptions
impl StructuralPartialEq for RenderOptions
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnsafeUnpin for RenderOptions
impl UnwindSafe for RenderOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.