pub struct SequenceParser { /* private fields */ }Implementations§
Source§impl SequenceParser
impl SequenceParser
pub fn with(self, parser: ParserHandle) -> Self
pub fn ignore_no_value(self, ignore: bool) -> Self
pub fn push(&mut self, parser: ParserHandle)
Trait Implementations§
Source§impl Clone for SequenceParser
impl Clone for SequenceParser
Source§fn clone(&self) -> SequenceParser
fn clone(&self) -> SequenceParser
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 Default for SequenceParser
impl Default for SequenceParser
Source§fn default() -> SequenceParser
fn default() -> SequenceParser
Returns the “default value” for a type. Read more
Source§impl FromIterator<Arc<dyn Parser>> for SequenceParser
impl FromIterator<Arc<dyn Parser>> for SequenceParser
Source§fn from_iter<T: IntoIterator<Item = ParserHandle>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = ParserHandle>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Parser for SequenceParser
impl Parser for SequenceParser
fn parse<'a>( &self, registry: &ParserRegistry, input: &'a str, ) -> ParseResult<'a>
fn extend(&self, parser: ParserHandle)
Auto Trait Implementations§
impl Freeze for SequenceParser
impl !RefUnwindSafe for SequenceParser
impl Send for SequenceParser
impl Sync for SequenceParser
impl Unpin for SequenceParser
impl UnsafeUnpin for SequenceParser
impl !UnwindSafe for SequenceParser
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