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