CaptureFromRanges

Trait CaptureFromRanges 

Source
pub trait CaptureFromRanges<'a, H: Haystack<'a>, const N: usize>: Sized + Debug {
    // Required method
    fn from_ranges(ranges: [Option<Range<usize>>; N], hay: H) -> Option<Self>;
}

Required Methods§

Source

fn from_ranges(ranges: [Option<Range<usize>>; N], hay: H) -> Option<Self>

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.

Implementors§