pub struct UNARY_MINUS { /* 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§
Source§impl Deref for UNARY_MINUS
impl Deref for UNARY_MINUS
impl LazyStatic for UNARY_MINUS
Auto Trait Implementations§
impl Freeze for UNARY_MINUS
impl RefUnwindSafe for UNARY_MINUS
impl Send for UNARY_MINUS
impl Sync for UNARY_MINUS
impl Unpin for UNARY_MINUS
impl UnwindSafe for UNARY_MINUS
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