pub(crate) struct PRATT_PARSER {
__private_field: (),
}Fields§
§__private_field: ()Methods from Deref<Target = PrattParser<Rule>>§
Sourcepub fn map_primary<'pratt, 'a, 'i, X, T>(
&'pratt self,
primary: X,
) -> PrattParserMap<'pratt, 'a, 'i, R, X, T>
pub fn map_primary<'pratt, 'a, 'i, X, T>( &'pratt self, primary: X, ) -> PrattParserMap<'pratt, 'a, 'i, R, X, T>
Maps primary expressions with a closure primary.
Trait Implementations§
Source§impl Deref for PRATT_PARSER
impl Deref for PRATT_PARSER
Source§type Target = PrattParser<Rule>
type Target = PrattParser<Rule>
The resulting type after dereferencing.
Source§fn deref(&self) -> &PrattParser<Rule>
fn deref(&self) -> &PrattParser<Rule>
Dereferences the value.
impl LazyStatic for PRATT_PARSER
Auto Trait Implementations§
impl Freeze for PRATT_PARSER
impl RefUnwindSafe for PRATT_PARSER
impl Send for PRATT_PARSER
impl Sync for PRATT_PARSER
impl Unpin for PRATT_PARSER
impl UnwindSafe for PRATT_PARSER
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more