pub enum UnaryOp {
Negate,
}
Expand description
Represents unary operator.
Variants§
Negate
-x
Trait Implementations§
Source§impl IntoBoundedStatic for UnaryOp
impl IntoBoundedStatic for UnaryOp
Source§impl ToBoundedStatic for UnaryOp
impl ToBoundedStatic for UnaryOp
impl Copy for UnaryOp
impl Eq for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
impl Freeze for UnaryOp
impl RefUnwindSafe for UnaryOp
impl Send for UnaryOp
impl Sync for UnaryOp
impl Unpin for UnaryOp
impl UnwindSafe for UnaryOp
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