pub struct RepeatParser { /* private fields */ }Implementations§
Source§impl RepeatParser
impl RepeatParser
pub fn new(parser: ParserHandle, occurrences: usize) -> Self
Trait Implementations§
Source§impl Clone for RepeatParser
impl Clone for RepeatParser
Source§fn clone(&self) -> RepeatParser
fn clone(&self) -> RepeatParser
Returns a duplicate 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 moreSource§impl Parser for RepeatParser
impl Parser for RepeatParser
fn parse<'a>( &self, registry: &ParserRegistry, input: &'a str, ) -> ParseResult<'a>
fn extend(&self, parser: ParserHandle)
Auto Trait Implementations§
impl Freeze for RepeatParser
impl !RefUnwindSafe for RepeatParser
impl Send for RepeatParser
impl Sync for RepeatParser
impl Unpin for RepeatParser
impl UnsafeUnpin for RepeatParser
impl !UnwindSafe for RepeatParser
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