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