Enum edlang_ast::UnaryOp
source · pub enum UnaryOp {
ArithNeg(Span),
LogicalNot(Span),
BitwiseNot(Span),
}
Variants§
Trait Implementations§
source§impl Ord for UnaryOp
impl Ord for UnaryOp
source§impl PartialEq for UnaryOp
impl PartialEq for UnaryOp
source§impl PartialOrd for UnaryOp
impl PartialOrd for UnaryOp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for UnaryOp
impl StructuralEq for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
impl RefUnwindSafe for UnaryOp
impl Send for UnaryOp
impl Sync for UnaryOp
impl Unpin for UnaryOp
impl UnwindSafe for UnaryOp
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