pub struct UnaryOpExpr {
pub op: UnaryOpType,
pub expr: Box<Expr>,
}Fields§
§op: UnaryOpType§expr: Box<Expr>Trait Implementations§
Source§impl Clone for UnaryOpExpr
impl Clone for UnaryOpExpr
Source§fn clone(&self) -> UnaryOpExpr
fn clone(&self) -> UnaryOpExpr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnaryOpExpr
impl Debug for UnaryOpExpr
Source§impl PartialEq for UnaryOpExpr
impl PartialEq for UnaryOpExpr
Source§impl Serialize for UnaryOpExpr
impl Serialize for UnaryOpExpr
impl StructuralPartialEq for UnaryOpExpr
Auto Trait Implementations§
impl Freeze for UnaryOpExpr
impl RefUnwindSafe for UnaryOpExpr
impl Send for UnaryOpExpr
impl Sync for UnaryOpExpr
impl Unpin for UnaryOpExpr
impl UnwindSafe for UnaryOpExpr
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