pub trait ExecSpecSeqIndexOf<'a>: Sized + DeepView {
type Elem: DeepView;
// Required method
exec fn exec_index_of(self, needle: Self::Elem) -> usize;
}Expand description
Spec for executable version of Seq::index_of.
Required Associated Types§
Required Methods§
Sourceexec fn exec_index_of(self, needle: Self::Elem) -> usize
exec fn exec_index_of(self, needle: Self::Elem) -> 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.