pub enum PrefixOperator {
Negate,
Not,
Plus,
BitwiseNot,
Other,
}Expand description
Prefix operator type (pre-computed at parse time)
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PrefixOperator
impl Clone for PrefixOperator
Source§fn clone(&self) -> PrefixOperator
fn clone(&self) -> PrefixOperator
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 PrefixOperator
Source§impl Debug for PrefixOperator
impl Debug for PrefixOperator
impl Eq for PrefixOperator
Source§impl Hash for PrefixOperator
impl Hash for PrefixOperator
Source§impl PartialEq for PrefixOperator
impl PartialEq for PrefixOperator
impl StructuralPartialEq for PrefixOperator
Auto Trait Implementations§
impl Freeze for PrefixOperator
impl RefUnwindSafe for PrefixOperator
impl Send for PrefixOperator
impl Sync for PrefixOperator
impl Unpin for PrefixOperator
impl UnsafeUnpin for PrefixOperator
impl UnwindSafe for PrefixOperator
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