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
impl 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 Forget for PrefixOperator
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