#[non_exhaustive]pub struct DiagramFamilyCapability {
pub diagram_type: &'static str,
pub logical_family_kind: &'static str,
pub metadata_id: Option<&'static str>,
pub render_model_kind: Option<&'static str>,
pub has_detector: bool,
pub has_semantic_parser: bool,
pub has_editor_parser: bool,
pub has_combined_parser: bool,
pub has_render_parser: bool,
pub has_header: bool,
pub config_namespace: Option<&'static str>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.diagram_type: &'static strMermaid diagram type id used by the pinned detector and parser registries.
logical_family_kind: &'static strLogical diagram family. This does not change when a family reuses another render model.
metadata_id: Option<&'static str>Public metadata identity, retained even when its implementation is unavailable.
render_model_kind: Option<&'static str>Known typed render-model kind, independent of whether its parser is compiled.
has_detector: boolWhether this id participates in automatic detection.
has_semantic_parser: boolWhether this build includes a semantic parser for this diagram type.
has_editor_parser: boolWhether this build includes parser-backed editor facts.
has_combined_parser: boolWhether JSON and editor facts share one combined semantic construction.
has_render_parser: boolWhether this build includes a typed render-model parser for this diagram type.
has_header: boolWhether this known id has an authoring header, without promising parser availability.
config_namespace: Option<&'static str>Mermaid configuration namespace associated with this id.
Trait Implementations§
Source§impl Clone for DiagramFamilyCapability
impl Clone for DiagramFamilyCapability
impl Copy for DiagramFamilyCapability
Source§impl Debug for DiagramFamilyCapability
impl Debug for DiagramFamilyCapability
impl Eq for DiagramFamilyCapability
Source§impl PartialEq for DiagramFamilyCapability
impl PartialEq for DiagramFamilyCapability
Source§impl Serialize for DiagramFamilyCapability
impl Serialize for DiagramFamilyCapability
impl StructuralPartialEq for DiagramFamilyCapability
Auto Trait Implementations§
impl Freeze for DiagramFamilyCapability
impl RefUnwindSafe for DiagramFamilyCapability
impl Send for DiagramFamilyCapability
impl Sync for DiagramFamilyCapability
impl Unpin for DiagramFamilyCapability
impl UnsafeUnpin for DiagramFamilyCapability
impl UnwindSafe for DiagramFamilyCapability
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.