Trait reformation::Reformation
source · pub trait Reformation: Sized {
fn regex_str() -> &'static str;
fn captures_count() -> usize;
fn from_captures(
c: &Captures<'_>,
offset: usize
) -> Result<Self, Box<dyn Error>>;
}
Required Methods
sourcefn captures_count() -> usize
fn captures_count() -> usize
number of used capture groups.