pub struct Unop {
pub op: UnaryOp,
}
Expand description
Unary operations, those requiring one operand
Fields§
§op: UnaryOp
The operation being performed
Trait Implementations§
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§
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