pub enum OperatorContent {
SymbolOperator(String),
BodyOperator(Vec<ParseNode>),
NamedOperator(String),
}Expand description
The body of an Op node: a symbol, a named operator, or an argument body.
Variants§
Trait Implementations§
Source§impl Clone for OperatorContent
impl Clone for OperatorContent
Source§fn clone(&self) -> OperatorContent
fn clone(&self) -> OperatorContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperatorContent
impl Debug for OperatorContent
Source§impl PartialEq for OperatorContent
impl PartialEq for OperatorContent
impl StructuralPartialEq for OperatorContent
Auto Trait Implementations§
impl Freeze for OperatorContent
impl RefUnwindSafe for OperatorContent
impl Send for OperatorContent
impl Sync for OperatorContent
impl Unpin for OperatorContent
impl UnsafeUnpin for OperatorContent
impl UnwindSafe for OperatorContent
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