Struct wagon_parser::parser::term::TermP
source · pub struct TermP {
pub op: Op2,
pub right: SpannableNode<Factor>,
pub cont: Option<Box<TermP>>,
}
Expand description
Fields§
§op: Op2
The operator
right: SpannableNode<Factor>
The right-hand side of the equation.
cont: Option<Box<TermP>>
The optional continuation.
Trait Implementations§
source§impl PartialEq for TermP
impl PartialEq for TermP
impl Eq for TermP
impl StructuralPartialEq for TermP
Auto Trait Implementations§
impl Freeze for TermP
impl RefUnwindSafe for TermP
impl Send for TermP
impl Sync for TermP
impl Unpin for TermP
impl UnwindSafe for TermP
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.