Struct plantuml_parser::StartLine
source · pub struct StartLine { /* private fields */ }Expand description
@start[a-z]*(id=MY_OWN_ID) | @start[a-z]* MY_OWN_ID (e.g. @startuml)
Implementations§
source§impl StartLine
impl StartLine
sourcepub fn parse(
input: ParseContainer
) -> IResult<ParseContainer, (Vec<ParseContainer>, Self)>
pub fn parse( input: ParseContainer ) -> IResult<ParseContainer, (Vec<ParseContainer>, Self)>
parse like " @startuml\n", " @startuml ID\n", " @startuml(id=ID)\n"
pub fn diagram_kind(&self) -> &str
pub fn id(&self) -> Option<&str>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StartLine
impl Send for StartLine
impl Sync for StartLine
impl Unpin for StartLine
impl UnwindSafe for StartLine
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