pub trait Container {
// Required method
fn element_names(&self) -> Box<dyn Iterator<Item = String>>;
}Required Methods§
fn element_names(&self) -> Box<dyn Iterator<Item = String>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".