pub enum UnOpr {
Minus,
BNot,
Not,
Len,
NoUnOpr,
}Expand description
Unary operators recognized by the expression parser. NoUnOpr is the
“this token is not a unary operator” sentinel returned by [getunopr].
Variants§
Trait Implementations§
impl Copy for UnOpr
impl Eq for UnOpr
impl StructuralPartialEq for UnOpr
Auto Trait Implementations§
impl Forget for UnOpr
impl Freeze for UnOpr
impl Move for UnOpr
impl RefUnwindSafe for UnOpr
impl Send for UnOpr
impl Sync for UnOpr
impl Unpin for UnOpr
impl UnsafeUnpin for UnOpr
impl UnwindSafe for UnOpr
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