pub struct UnaryOpExpr {
pub op: UnaryOp,
pub operand: Box<Expr>,
}Expand description
Unary operation
Fields§
§op: UnaryOp§operand: 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<'de> Deserialize<'de> for UnaryOpExpr
impl<'de> Deserialize<'de> for UnaryOpExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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