pub(super) fn len(&self) -> usize {
        match self {
            Fields::Slice(pats) => pats.len(),
            Fields::Vec(pats) => pats.len(),
            Fields::Filtered { kept_count, .. } => *kept_count,
        }
    }
/// Returns the number of patterns from the viewpoint of match-checking, i.e. excluding hidden
/// fields. This is what we want in most cases in this file, the only exception being
/// conversion to/from `Pat`.
Returns the number of patterns from the viewpoint of match-checking, i.e. excluding hidden
fields. This is what we want in most cases in this file, the only exception being
conversion to/from `Pat`.
Returns the number of patterns from the viewpoint of match - checking i . e . excluding hidden fields . This is what we want in most cases in this file the only exception being conversion to / from ` Pat ` .
pub(super) fn len(&self) -> usize {
        match self {
            Fields::Slice(pats) => pats.len(),
            Fields::Vec(pats) => pats.len(),
            Fields::Filtered { kept_count, .. } => *kept_count,
        }
    }
pub ( super ) fn len ( & self ) -> usize { match self { Fields :: Slice ( pats ) => pats . len ( ) , Fields :: Vec ( pats ) => pats . len ( ) , Fields :: Filtered { kept_count , .. } => * kept_count , } }
Returns the number of patterns from the viewpoint of match-checking, i.e.
Returns the number of patterns from the viewpoint of match - checking i . e .
&self
&self