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 Traversable for UnaryOp
impl Traversable 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