Enum piccolo::compiler::parser::HeadExpression
source · pub enum HeadExpression<S> {
Simple(SimpleExpression<S>),
UnaryOperator(UnaryOperator, Expression<S>),
}Variants§
Simple(SimpleExpression<S>)
UnaryOperator(UnaryOperator, Expression<S>)
Trait Implementations§
source§impl<S: Clone> Clone for HeadExpression<S>
impl<S: Clone> Clone for HeadExpression<S>
source§fn clone(&self) -> HeadExpression<S>
fn clone(&self) -> HeadExpression<S>
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<S: Debug> Debug for HeadExpression<S>
impl<S: Debug> Debug for HeadExpression<S>
source§impl<S: PartialEq> PartialEq<HeadExpression<S>> for HeadExpression<S>
impl<S: PartialEq> PartialEq<HeadExpression<S>> for HeadExpression<S>
source§fn eq(&self, other: &HeadExpression<S>) -> bool
fn eq(&self, other: &HeadExpression<S>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<S> StructuralPartialEq for HeadExpression<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for HeadExpression<S>where S: RefUnwindSafe,
impl<S> Send for HeadExpression<S>where S: Send,
impl<S> Sync for HeadExpression<S>where S: Sync,
impl<S> Unpin for HeadExpression<S>where S: Unpin,
impl<S> UnwindSafe for HeadExpression<S>where S: UnwindSafe,
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