pub struct MermaidClassDef { /* private fields */ }Expand description
Custom Mermaid classDef style palette entry applied to flowchart nodes.
Implementations§
Source§impl MermaidClassDef
impl MermaidClassDef
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_fill(&self) -> String
pub fn try_get_fill(&self) -> &Option<String>
pub fn get_mut_fill(&mut self) -> &mut Option<String>
pub fn set_fill(&mut self, val: Option<String>) -> &mut Self
pub fn get_stroke(&self) -> String
pub fn try_get_stroke(&self) -> &Option<String>
pub fn get_mut_stroke(&mut self) -> &mut Option<String>
pub fn set_stroke(&mut self, val: Option<String>) -> &mut Self
pub fn get_text_color(&self) -> String
pub fn try_get_text_color(&self) -> &Option<String>
pub fn get_mut_text_color(&mut self) -> &mut Option<String>
pub fn set_text_color(&mut self, val: Option<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for MermaidClassDef
impl Clone for MermaidClassDef
Source§impl Debug for MermaidClassDef
impl Debug for MermaidClassDef
impl Eq for MermaidClassDef
Source§impl PartialEq for MermaidClassDef
impl PartialEq for MermaidClassDef
impl StructuralPartialEq for MermaidClassDef
Auto Trait Implementations§
impl Forget for MermaidClassDef
impl Freeze for MermaidClassDef
impl Move for MermaidClassDef
impl RefUnwindSafe for MermaidClassDef
impl Send for MermaidClassDefwhere
RawVecInner: Send,
impl Sync for MermaidClassDefwhere
RawVecInner: Sync,
impl Unpin for MermaidClassDef
impl UnsafeUnpin for MermaidClassDef
impl UnwindSafe for MermaidClassDefwhere
RawVecInner: UnwindSafe,
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