pub enum UnaryOp {
Minus,
Plus,
Not,
Tilde,
TypeOf,
Void,
Delete,
}
Expand description
The allowed operators for an Expr
to be Unary
Variants
Minus
Plus
Not
Tilde
TypeOf
Void
Delete
Trait Implementations
sourceimpl PartialEq<UnaryOp> for UnaryOp
impl PartialEq<UnaryOp> for UnaryOp
impl Copy for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations
impl RefUnwindSafe for UnaryOp
impl Send for UnaryOp
impl Sync for UnaryOp
impl Unpin for UnaryOp
impl UnwindSafe for UnaryOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more