Struct plantuml_parser::StartDiagramToken
source · pub struct StartDiagramToken { /* private fields */ }Expand description
"@startuml" or "@startuml ID", "@startuml(id=ID)"
Implementations§
source§impl StartDiagramToken
impl StartDiagramToken
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§
source§impl Clone for StartDiagramToken
impl Clone for StartDiagramToken
source§fn clone(&self) -> StartDiagramToken
fn clone(&self) -> StartDiagramToken
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 StartDiagramToken
impl Send for StartDiagramToken
impl Sync for StartDiagramToken
impl Unpin for StartDiagramToken
impl UnwindSafe for StartDiagramToken
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