pub trait MenuContent<M> {
// Required method
fn into_source(self) -> MenuSource;
}Expand description
Anything an app menu takes: a Vec or array of entries, or a closure that derives the
entries and re-runs whenever its reactive reads change. The marker parameter is the same
E0119 dodge as ToolbarContent.
Required Methods§
fn into_source(self) -> MenuSource
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".