pub struct PlantUmlBlock { /* private fields */ }
Expand description
A block of PlantUML
Implementations§
Source§impl PlantUmlBlock
impl PlantUmlBlock
Sourcepub fn parse(input: ParseContainer) -> ParseResult<Self>
pub fn parse(input: ParseContainer) -> ParseResult<Self>
Tries to parse PlantUmlBlock
.
NOTE: At the moment, only BlockComment
is handled, so this implementation is specifically tailored for BlockComment
.
Sourcepub fn kind(&self) -> &PlantUmlBlockKind
pub fn kind(&self) -> &PlantUmlBlockKind
Returns the reference of PlantUmlBlockKind
.
Trait Implementations§
Source§impl Clone for PlantUmlBlock
impl Clone for PlantUmlBlock
Source§fn clone(&self) -> PlantUmlBlock
fn clone(&self) -> PlantUmlBlock
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 moreAuto Trait Implementations§
impl Freeze for PlantUmlBlock
impl RefUnwindSafe for PlantUmlBlock
impl Send for PlantUmlBlock
impl Sync for PlantUmlBlock
impl Unpin for PlantUmlBlock
impl UnwindSafe for PlantUmlBlock
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