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