pub trait IntoSections {
type Iter: Iterator<Item = Section>;
// Required method
fn into_sections(self) -> Self::Iter;
}Expand description
Converts different types into an Iterator of sections so they can be passed into MenuBuilder::route
Required Associated Types§
Required Methods§
Sourcefn into_sections(self) -> Self::Iter
fn into_sections(self) -> Self::Iter
Converts self into the Iterator.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".