pub enum UnaryOperatorKind {
Not,
Plus,
Inc,
Minus,
Dec,
BitNot,
TestOp,
}Variants§
Trait Implementations§
Source§impl Clone for UnaryOperatorKind
impl Clone for UnaryOperatorKind
Source§fn clone(&self) -> UnaryOperatorKind
fn clone(&self) -> UnaryOperatorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnaryOperatorKind
Source§impl Debug for UnaryOperatorKind
impl Debug for UnaryOperatorKind
Source§impl<'de> Deserialize<'de> for UnaryOperatorKind
impl<'de> Deserialize<'de> for UnaryOperatorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UnaryOperatorKind
Source§impl PartialEq for UnaryOperatorKind
impl PartialEq for UnaryOperatorKind
Source§impl Serialize for UnaryOperatorKind
impl Serialize for UnaryOperatorKind
impl StructuralPartialEq for UnaryOperatorKind
Auto Trait Implementations§
impl Freeze for UnaryOperatorKind
impl RefUnwindSafe for UnaryOperatorKind
impl Send for UnaryOperatorKind
impl Sync for UnaryOperatorKind
impl Unpin for UnaryOperatorKind
impl UnsafeUnpin for UnaryOperatorKind
impl UnwindSafe for UnaryOperatorKind
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