pub struct UnaryData {
pub operator: Token,
pub expr: Box<Expr>,
}Expand description
Represents an unary expression’s data in the language.
Fields§
§operator: Token§expr: Box<Expr>Trait Implementations§
impl Eq for UnaryData
impl StructuralPartialEq for UnaryData
Auto Trait Implementations§
impl Freeze for UnaryData
impl RefUnwindSafe for UnaryData
impl Send for UnaryData
impl Sync for UnaryData
impl Unpin for UnaryData
impl UnwindSafe for UnaryData
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