pub struct MermaidConfig(/* private fields */);Implementations§
Source§impl MermaidConfig
impl MermaidConfig
pub fn empty_object() -> Self
pub fn from_value(value: Value) -> Self
pub fn as_value(&self) -> &Value
pub fn as_value_mut(&mut self) -> &mut Value
pub fn get_str(&self, dotted_path: &str) -> Option<&str>
pub fn get_bool(&self, dotted_path: &str) -> Option<bool>
pub fn set_value(&mut self, dotted_path: &str, value: Value)
pub fn deep_merge(&mut self, other: &Value)
Trait Implementations§
Source§impl Clone for MermaidConfig
impl Clone for MermaidConfig
Source§fn clone(&self) -> MermaidConfig
fn clone(&self) -> MermaidConfig
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 MermaidConfig
impl Debug for MermaidConfig
Source§impl Default for MermaidConfig
impl Default for MermaidConfig
Source§impl PartialEq for MermaidConfig
impl PartialEq for MermaidConfig
impl StructuralPartialEq for MermaidConfig
Auto Trait Implementations§
impl Freeze for MermaidConfig
impl RefUnwindSafe for MermaidConfig
impl Send for MermaidConfig
impl Sync for MermaidConfig
impl Unpin for MermaidConfig
impl UnsafeUnpin for MermaidConfig
impl UnwindSafe for MermaidConfig
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