pub struct MermaidFlowNode { /* private fields */ }Expand description
Single node inside a Mermaid flowchart or state diagram.
Implementations§
Source§impl MermaidFlowNode
impl MermaidFlowNode
pub fn get_id(&self) -> &String
pub fn get_mut_id(&mut self) -> &mut String
pub fn set_id(&mut self, val: String) -> &mut Self
pub fn get_label(&self) -> &String
pub fn get_mut_label(&mut self) -> &mut String
pub fn set_label(&mut self, val: String) -> &mut Self
pub fn get_shape(&self) -> MermaidNodeShape
pub fn get_mut_shape(&mut self) -> &mut MermaidNodeShape
pub fn set_shape(&mut self, val: MermaidNodeShape) -> &mut Self
pub fn get_subgraph(&self) -> Option<usize>
pub fn try_get_subgraph(&self) -> Option<usize>
pub fn get_mut_subgraph(&mut self) -> &mut Option<usize>
pub fn set_subgraph(&mut self, val: Option<usize>) -> &mut Self
pub fn get_classes(&self) -> &Vec<String>
pub fn get_mut_classes(&mut self) -> &mut Vec<String>
pub fn set_classes(&mut self, val: Vec<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
pub fn get_click_url(&self) -> String
pub fn try_get_click_url(&self) -> &Option<String>
pub fn get_mut_click_url(&mut self) -> &mut Option<String>
pub fn set_click_url(&mut self, val: Option<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for MermaidFlowNode
impl Clone for MermaidFlowNode
Source§impl Debug for MermaidFlowNode
impl Debug for MermaidFlowNode
impl Eq for MermaidFlowNode
Source§impl PartialEq for MermaidFlowNode
impl PartialEq for MermaidFlowNode
impl StructuralPartialEq for MermaidFlowNode
Auto Trait Implementations§
impl Forget for MermaidFlowNode
impl Freeze for MermaidFlowNode
impl Move for MermaidFlowNode
impl RefUnwindSafe for MermaidFlowNode
impl Send for MermaidFlowNodewhere
RawVecInner: Send,
impl Sync for MermaidFlowNodewhere
RawVecInner: Sync,
impl Unpin for MermaidFlowNode
impl UnsafeUnpin for MermaidFlowNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MermaidFlowNodewhere
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