Enum reproto_core::RpMatchCondition
[−]
[src]
pub enum RpMatchCondition { Value(Loc<RpValue>), Type(Loc<RpMatchVariable>), }
Variants
Value(Loc<RpValue>)
Match a specific value.
Type(Loc<RpMatchVariable>)
Match a type, and add a binding for the given name that can be resolved in the action.
Trait Implementations
impl Debug for RpMatchCondition
[src]
impl Clone for RpMatchCondition
[src]
fn clone(&self) -> RpMatchCondition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more