pub trait DoubleEndedIterator: DoubleEndedIterator + Iterator {
// Required methods
fn produces_back(self, visited: Seq<Self::Item>, o: Self) -> bool;
fn produces_back_refl(self);
fn produces_back_trans(
a: Self,
ab: Seq<Self::Item>,
b: Self,
bc: Seq<Self::Item>,
c: Self,
);
}
Required Methods§
Sourcefn produces_back(self, visited: Seq<Self::Item>, o: Self) -> bool
fn produces_back(self, visited: Seq<Self::Item>, o: Self) -> bool
logic(prophetic)
Sourcefn produces_back_refl(self)
fn produces_back_refl(self)
law
ensures
self.produces_back(Seq::EMPTY, self)
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.