pub trait Atom {
fn to_regexp(&self) -> String;
fn to_rec(&self) -> Rec { ... }
fn rpt(&self, quantifier: impl Quantifier) -> Rec { ... }
}
Expand description
Specifies the characters to be matched against.
Required Methods§
Provided Methods§
sourcefn rpt(&self, quantifier: impl Quantifier) -> Rec
fn rpt(&self, quantifier: impl Quantifier) -> Rec
Generates a Rec
consisting of self
quantified by quantifier
.