Struct valkyrie_ast::UnaryNode
source · pub struct UnaryNode {
pub operator: OperatorNode,
pub base: ExpressionKind,
}Expand description
An expression node with unary operator and base expression
Fields§
§operator: OperatorNodeThe operator of the node
base: ExpressionKindThe expression that the operator is applied to
Trait Implementations§
source§impl From<UnaryNode> for ExpressionKind
impl From<UnaryNode> for ExpressionKind
source§impl PartialEq for UnaryNode
impl PartialEq for UnaryNode
source§impl ValkyrieNode for UnaryNode
impl ValkyrieNode for UnaryNode
impl Eq for UnaryNode
impl StructuralPartialEq for UnaryNode
Auto Trait Implementations§
impl RefUnwindSafe for UnaryNode
impl Send for UnaryNode
impl Sync for UnaryNode
impl Unpin for UnaryNode
impl UnwindSafe for UnaryNode
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