pub trait LendingIterator {
type Item<'a>
where Self: 'a;
// Required method
fn next(&mut self) -> Option<Self::Item<'_>>;
}Expand description
A GAT based lending iterator. Can’t do anything fancy with it yet though.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".