#[repr(u8)]pub enum UnaryOperator {
Not = 0,
Invert = 1,
Minus = 2,
Plus = 3,
}
Expand description
The possible unary operators
Variants§
Trait Implementations§
source§impl Clone for UnaryOperator
impl Clone for UnaryOperator
source§fn clone(&self) -> UnaryOperator
fn clone(&self) -> UnaryOperator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnaryOperator
impl Debug for UnaryOperator
source§impl OpArgType for UnaryOperator
impl OpArgType for UnaryOperator
source§impl PartialEq for UnaryOperator
impl PartialEq for UnaryOperator
source§fn eq(&self, other: &UnaryOperator) -> bool
fn eq(&self, other: &UnaryOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnaryOperator
impl Eq for UnaryOperator
impl StructuralPartialEq for UnaryOperator
Auto Trait Implementations§
impl Freeze for UnaryOperator
impl RefUnwindSafe for UnaryOperator
impl Send for UnaryOperator
impl Sync for UnaryOperator
impl Unpin 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