pub struct BlockCommentOpenLine;
Expand description
A token sequence that is an open BlockComment
line.
"/' begin\n"
§Examples
use plantuml_parser::{BlockCommentOpenLine, ParseContainer};
let input = "/' begin\n";
let (rest, (raws, _token)) = BlockCommentOpenLine::parse(input.into())?;
let combined_raw: ParseContainer = raws.into();
assert_eq!(rest, "");
assert_eq!(combined_raw, "/' begin\n");
Implementations§
Source§impl BlockCommentOpenLine
impl BlockCommentOpenLine
Sourcepub fn parse(input: ParseContainer) -> ParseResult<Self>
pub fn parse(input: ParseContainer) -> ParseResult<Self>
Tries to parse BlockCommentOpenLine
. (e.g. "/' begin\n"
.)
Trait Implementations§
Source§impl Clone for BlockCommentOpenLine
impl Clone for BlockCommentOpenLine
Source§fn clone(&self) -> BlockCommentOpenLine
fn clone(&self) -> BlockCommentOpenLine
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 Freeze for BlockCommentOpenLine
impl RefUnwindSafe for BlockCommentOpenLine
impl Send for BlockCommentOpenLine
impl Sync for BlockCommentOpenLine
impl Unpin for BlockCommentOpenLine
impl UnwindSafe for BlockCommentOpenLine
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