///
/// Matches the sequence with *seq.* Returns ExactMatch if
/// successful, PartialMatch if *seq* matches incompletely,
/// and NoMatch if the sequences have nothing in common.
/// Returns NoMatch if *seq* is shorter.
Matches the sequence with *seq.* Returns ExactMatch if
successful, PartialMatch if *seq* matches incompletely,
and NoMatch if the sequences have nothing in common.
Returns NoMatch if *seq* is shorter.
Matches the sequence with * seq . * Returns ExactMatch if successful PartialMatch if * seq * matches incompletely and NoMatch if the sequences have nothing in common . Returns NoMatch if * seq * is shorter .
pub fn matches<K: KeySequenceTrait<'a>>(&self, seq: &K) -> SequenceMatch {
        let (obj_seq_1, _funcs) = seq.get_key_sequence_obj_funcs();
        let (obj_data, funcs) = self.get_key_sequence_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).matches)(obj_data, obj_seq_1);
            let ret_val = { transmute::<u32, SequenceMatch>(ret_val) };
            ret_val
        }
    }
pub fn matches < K : KeySequenceTrait < ' a > > ( & self , seq : & K ) -> SequenceMatch { let ( obj_seq_1 , _funcs ) = seq . get_key_sequence_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_key_sequence_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . matches ) ( obj_data , obj_seq_1 ) ; let ret_val = { transmute :: < u32 , SequenceMatch > ( ret_val ) } ; ret_val } }
Matches the sequence with *seq.
Matches the sequence with * seq .
&self
seq
&K