Struct wagon_parser::parser::sum::SumP
source · pub struct SumP {
pub op: Op1,
pub right: SpannableNode<Term>,
pub cont: Option<Box<SumP>>,
}
Expand description
Fields§
§op: Op1
The operator
right: SpannableNode<Term>
The right-hand Term
.
cont: Option<Box<SumP>>
The optional rest of the sum
Implementations§
Trait Implementations§
source§impl PartialEq for SumP
impl PartialEq for SumP
impl Eq for SumP
impl StructuralPartialEq for SumP
Auto Trait Implementations§
impl Freeze for SumP
impl RefUnwindSafe for SumP
impl Send for SumP
impl Sync for SumP
impl Unpin for SumP
impl UnwindSafe for SumP
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.