pub struct ParseMetadata {
pub diagram_type: String,
pub config: MermaidConfig,
pub effective_config: MermaidConfig,
pub title: Option<String>,
}Fields§
§diagram_type: String§config: MermaidConfigParsed config overrides extracted from front-matter and directives.
This mirrors Mermaid’s mermaidAPI.parse() return shape.
effective_config: MermaidConfigThe effective config used for detection/parsing after applying site defaults.
title: Option<String>Trait Implementations§
Source§impl Clone for ParseMetadata
impl Clone for ParseMetadata
Source§fn clone(&self) -> ParseMetadata
fn clone(&self) -> ParseMetadata
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 moreAuto Trait Implementations§
impl Freeze for ParseMetadata
impl RefUnwindSafe for ParseMetadata
impl Send for ParseMetadata
impl Sync for ParseMetadata
impl Unpin for ParseMetadata
impl UnsafeUnpin for ParseMetadata
impl UnwindSafe for ParseMetadata
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