Expand description
A unary operator: *
, !
, -
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants
Deref(Star)
The *
operator for dereferencing
Not(Bang)
The !
operator for logical inversion
Neg(Sub)
The -
operator for negation
Auto Trait Implementations
impl RefUnwindSafe for UnOp
impl !Send for UnOp
impl !Sync for UnOp
impl Unpin for UnOp
impl UnwindSafe for UnOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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