pub trait CaptureFromRanges<'a, S: HaystackSlice<'a>, const N: usize>: Sized + Debug {
// Required methods
fn from_ranges(ranges: [Option<Range<usize>>; N], slice: S) -> Option<Self>;
fn whole_match_range(&self) -> Range<usize>;
}Required Methods§
fn from_ranges(ranges: [Option<Range<usize>>; N], slice: S) -> Option<Self>
fn whole_match_range(&self) -> Range<usize>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.