pub enum UnaryOperator {
Minus,
LogicalNot,
BitwiseNot,
AddressOf,
}Expand description
Unary operators for C expressions.
Variants§
Minus
Unary minus (-x)
LogicalNot
Logical NOT (!x)
BitwiseNot
Bitwise NOT (~x)
AddressOf
Address-of (&x)
Trait Implementations§
Source§impl Clone for UnaryOperator
impl Clone for UnaryOperator
impl Copy for UnaryOperator
Source§impl Debug for UnaryOperator
impl Debug for UnaryOperator
impl Eq for UnaryOperator
Source§impl PartialEq for UnaryOperator
impl PartialEq for UnaryOperator
impl StructuralPartialEq for UnaryOperator
Auto Trait Implementations§
impl Forget for UnaryOperator
impl Freeze for UnaryOperator
impl Move for UnaryOperator
impl RefUnwindSafe for UnaryOperator
impl Send for UnaryOperator
impl Sync for UnaryOperator
impl Unpin for UnaryOperator
impl UnsafeUnpin for UnaryOperator
impl UnwindSafe for UnaryOperator
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