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