pub trait ExecSpecSeqSubrange<'a>: Sized + DeepView<V = Seq<<Self::Elem as DeepView>::V>> {
type Elem: DeepView;
// Required method
exec fn exec_subrange(self, start_inclusive: usize, end_exclusive: usize) -> Self;
}Expand description
Spec for executable version of Seq::subrange.
Required Associated Types§
Required Methods§
Sourceexec fn exec_subrange(self, start_inclusive: usize, end_exclusive: usize) -> Self
exec fn exec_subrange(self, start_inclusive: usize, end_exclusive: usize) -> Self
requires
0 <= start_inclusive <= end_exclusive <= self.deep_view().len(),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.