pub trait CompiledRegex<I> {
// Required methods
fn is_match(&self, input: &[I]) -> bool;
fn find<'t>(&self, input: &'t [I]) -> Option<Match<'t, I>>;
fn captures<'t>(&self, input: &'t [I]) -> Option<Captures<'t, I>>;
// Provided method
fn is_full_match(&self, input: &[I]) -> bool { ... }
}
Required Methods§
Sourcefn is_match(&self, input: &[I]) -> bool
fn is_match(&self, input: &[I]) -> bool
Returns true if and only if there is a match for the regex in the slice given.
Provided Methods§
Sourcefn is_full_match(&self, input: &[I]) -> bool
fn is_full_match(&self, input: &[I]) -> bool
Returns true if and only if match the entire input slice.