pub enum PlantUmlLineKind {
Start(StartLine),
End(EndLine),
Include(IncludeLine),
Title(TitleLine),
Header(HeaderLine),
Footer(FooterLine),
Empty,
Others,
}
Expand description
A kind of PlantUML lines to be handled by plantuml-parser
. A line that cannot be handled is set to Others
.
Variants§
Start(StartLine)
@start[a-z]*(id=MY_OWN_ID)
| @start[a-z]* MY_OWN_ID
(e.g. @startuml
)
End(EndLine)
@end[a-z]*
(e.g. @enduml
)
Include(IncludeLine)
!include <filepath>
| !include <filepath>!<id>
(e.g. !include foo.puml!1
)
Title(TitleLine)
title <text>
(e.g. title TITLE
)
Header(HeaderLine)
header <text>
(e.g. header HEADER
)
footer <text>
(e.g. footer FOOTER
)
Empty
empty line
Others
others
Trait Implementations§
source§impl Clone for PlantUmlLineKind
impl Clone for PlantUmlLineKind
source§fn clone(&self) -> PlantUmlLineKind
fn clone(&self) -> PlantUmlLineKind
Returns a copy 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 RefUnwindSafe for PlantUmlLineKind
impl Send for PlantUmlLineKind
impl Sync for PlantUmlLineKind
impl Unpin for PlantUmlLineKind
impl UnwindSafe for PlantUmlLineKind
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