Skip to main content

FindNth

Trait FindNth 

Source
pub trait FindNth<I> {
    // Required method
    fn find_nth(
        &self,
        range: impl RangeBounds<usize>,
        value: I,
        n: usize,
    ) -> Option<usize>;
}
Expand description

$n$ 番目の出現位置クエリ。

Required Methods§

Source

fn find_nth( &self, range: impl RangeBounds<usize>, value: I, n: usize, ) -> Option<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.

Implementors§