Struct valkyrie_ast::OperatorNode
source · pub struct OperatorNode {
pub kind: ValkyrieOperator,
pub span: Range<u32>,
}Expand description
An operator node with kind and range
Fields§
§kind: ValkyrieOperatorThe valid kind of operator
span: Range<u32>The range of the node
Trait Implementations§
source§impl Clone for OperatorNode
impl Clone for OperatorNode
source§fn clone(&self) -> OperatorNode
fn clone(&self) -> OperatorNode
Returns a copy 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 OperatorNode
impl Debug for OperatorNode
source§impl Hash for OperatorNode
impl Hash for OperatorNode
source§impl PartialEq for OperatorNode
impl PartialEq for OperatorNode
source§fn eq(&self, other: &OperatorNode) -> bool
fn eq(&self, other: &OperatorNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for OperatorNode
impl StructuralPartialEq for OperatorNode
Auto Trait Implementations§
impl RefUnwindSafe for OperatorNode
impl Send for OperatorNode
impl Sync for OperatorNode
impl Unpin for OperatorNode
impl UnwindSafe for OperatorNode
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