pub struct UnaryOpNode {
pub operator: String,
pub operand: Box<AstNode>,
}Expand description
Unary operation node: NOT operand
Fields§
§operator: StringUnary operator (not)
operand: Box<AstNode>Operand to negate
Trait Implementations§
Source§impl Clone for UnaryOpNode
impl Clone for UnaryOpNode
Source§fn clone(&self) -> UnaryOpNode
fn clone(&self) -> UnaryOpNode
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 UnaryOpNode
impl Debug for UnaryOpNode
Source§impl<'de> Deserialize<'de> for UnaryOpNode
impl<'de> Deserialize<'de> for UnaryOpNode
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 UnaryOpNode
impl PartialEq for UnaryOpNode
Source§impl Serialize for UnaryOpNode
impl Serialize for UnaryOpNode
impl StructuralPartialEq for UnaryOpNode
Auto Trait Implementations§
impl Freeze for UnaryOpNode
impl RefUnwindSafe for UnaryOpNode
impl Send for UnaryOpNode
impl Sync for UnaryOpNode
impl Unpin for UnaryOpNode
impl UnwindSafe for UnaryOpNode
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