pub struct UNARY_PM { /* private fields */ }Methods from Deref<Target = Op>§
Sourcepub fn match_front(&self, input: &str) -> Option<&str>
pub fn match_front(&self, input: &str) -> Option<&str>
Given a string, returns a matched prefix of that string if the prefix matches one of the operator’s representations and None otherwise.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UNARY_PM
impl RefUnwindSafe for UNARY_PM
impl Send for UNARY_PM
impl Sync for UNARY_PM
impl Unpin for UNARY_PM
impl UnwindSafe for UNARY_PM
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