pub struct MermaidSeqBlock { /* private fields */ }Expand description
Framed control-flow block (loop, alt, opt, par, critical, break, rect) in a sequenceDiagram.
Implementations§
Source§impl MermaidSeqBlock
impl MermaidSeqBlock
pub fn get_kind(&self) -> MermaidSeqBlockKind
pub fn get_mut_kind(&mut self) -> &mut MermaidSeqBlockKind
pub fn set_kind(&mut self, val: MermaidSeqBlockKind) -> &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_start_row(&self) -> usize
pub fn get_mut_start_row(&mut self) -> &mut usize
pub fn set_start_row(&mut self, val: usize) -> &mut Self
pub fn get_end_row(&self) -> usize
pub fn get_mut_end_row(&mut self) -> &mut usize
pub fn set_end_row(&mut self, val: usize) -> &mut Self
pub fn get_depth(&self) -> usize
pub fn get_mut_depth(&mut self) -> &mut usize
pub fn set_depth(&mut self, val: usize) -> &mut Self
pub fn get_dividers(&self) -> &Vec<MermaidSeqBlockDivider>
pub fn get_mut_dividers(&mut self) -> &mut Vec<MermaidSeqBlockDivider>
pub fn set_dividers(&mut self, val: Vec<MermaidSeqBlockDivider>) -> &mut Self
Source§impl MermaidSeqBlock
impl MermaidSeqBlock
pub fn new( kind: MermaidSeqBlockKind, label: String, start_row: usize, end_row: usize, depth: usize, dividers: Vec<MermaidSeqBlockDivider>, ) -> Self
Trait Implementations§
Source§impl Clone for MermaidSeqBlock
impl Clone for MermaidSeqBlock
Source§impl Debug for MermaidSeqBlock
impl Debug for MermaidSeqBlock
impl Eq for MermaidSeqBlock
Source§impl PartialEq for MermaidSeqBlock
impl PartialEq for MermaidSeqBlock
impl StructuralPartialEq for MermaidSeqBlock
Auto Trait Implementations§
impl Forget for MermaidSeqBlock
impl Freeze for MermaidSeqBlockwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<MermaidSeqBlockDivider>: Freeze,
impl Move for MermaidSeqBlock
impl RefUnwindSafe for MermaidSeqBlock
impl Send for MermaidSeqBlockwhere
RawVecInner: Send,
impl Sync for MermaidSeqBlockwhere
RawVecInner: Sync,
impl Unpin for MermaidSeqBlock
impl UnsafeUnpin for MermaidSeqBlockwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MermaidSeqBlockDivider>: UnsafeUnpin,
impl UnwindSafe for MermaidSeqBlockwhere
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