Struct lua_patterns::Captures
[−]
[src]
pub struct Captures<'a, 'b, 'c> where
'a: 'c, { /* fields omitted */ }
Low-overhead convenient access to string match captures
Methods
impl<'a, 'b, 'c> Captures<'a, 'b, 'c>
[src]
fn get(&self, i: usize) -> &'b str
get the capture as a string slice
fn num_matches(&self) -> usize
number of matches