//! Provides the `Match` trait.
/// Describes a matchable object.
pubtraitMatch<T> {/// Returns true if the data matches the pattern.
////// # Arguments
/// data - the data to match
////// # Returns
/// (true, index) if the data matches the pattern,
/// (false, index) otherwise
fnis_matching(&self, data:&[T])->(bool, usize);/// Returns the size of the matchable object.
fnsize(&self)->usize;}