Struct wagon_parser::parser::comp::Comp
source · pub struct Comp {
pub op: CompOp,
pub right: SpannableNode<Sum>,
}
Expand description
The operator and right-hand side of a comparison.
Fields§
§op: CompOp
The operator.
right: SpannableNode<Sum>
The right-hand side.
Trait Implementations§
source§impl PartialEq for Comp
impl PartialEq for Comp
impl Eq for Comp
impl StructuralPartialEq for Comp
Auto Trait Implementations§
impl Freeze for Comp
impl RefUnwindSafe for Comp
impl Send for Comp
impl Sync for Comp
impl Unpin for Comp
impl UnwindSafe for Comp
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.