Struct reproto_core::RpMatchDecl
[−]
[src]
pub struct RpMatchDecl { pub by_value: Vec<(Loc<RpValue>, RpByValueMatch)>, pub by_type: Vec<(RpMatchKind, RpByTypeMatch)>, }
Fields
by_value: Vec<(Loc<RpValue>, RpByValueMatch)>
by_type: Vec<(RpMatchKind, RpByTypeMatch)>
Methods
impl RpMatchDecl
[src]
fn new() -> RpMatchDecl
fn is_empty(&self) -> bool
fn identify_match_kind(&self, variable: &RpMatchVariable) -> RpMatchKind
fn push(&mut self, member: Loc<RpMatchMember>) -> Result<()>
Trait Implementations
impl Debug for RpMatchDecl
[src]
impl Clone for RpMatchDecl
[src]
fn clone(&self) -> RpMatchDecl
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