pub(crate) trait Successor: Sized {
// Required method
fn next(&self) -> Option<Self>;
}Expand description
An object that has a single next element.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".