Struct erg_parser::ast::UnaryOp
source · pub struct UnaryOp {
pub op: Token,
pub args: [Box<Expr>; 1],
}
Fields§
§op: Token
§args: [Box<Expr>; 1]
Implementations§
Trait Implementations§
source§impl Locational for UnaryOp
impl Locational for UnaryOp
source§impl NestedDisplay for UnaryOp
impl NestedDisplay for UnaryOp
source§impl PartialEq for UnaryOp
impl PartialEq for UnaryOp
impl Eq for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
impl Freeze for UnaryOp
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