pub fn capture_names(&self) -> CaptureNames {
        let mut names = Vec::new();
        names.resize(self.captures_len(), None);
        for (name, &i) in self.named_groups.iter() {
            names[i] = Some(name.as_str());
        }
        CaptureNames(names.into_iter())
    }
/// Returns an iterator over the capture names.
Returns an iterator over the capture names.
Returns an iterator over the capture names .
pub fn capture_names(&self) -> CaptureNames {
        let mut names = Vec::new();
        names.resize(self.captures_len(), None);
        for (name, &i) in self.named_groups.iter() {
            names[i] = Some(name.as_str());
        }
        CaptureNames(names.into_iter())
    }
pub fn capture_names ( & self ) -> CaptureNames { let mut names = Vec :: new ( ) ; names . resize ( self . captures_len ( ) , None ) ; for ( name , & i ) in self . named_groups . iter ( ) { names [ i ] = Some ( name . as_str ( ) ) ; } CaptureNames ( names . into_iter ( ) ) }
Returns an iterator over the capture names.
Returns an iterator over the capture names .
&self
&self