Skip to main content

FromRanges

Trait FromRanges 

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

Required Methods§

Source

fn from_ranges(ranges: [Option<Range<usize>>; N], slice: S) -> 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§