pub trait DockMenu {
// Required method
fn set_menu(&self, menu: &[MenuEntry]);
}Expand description
The menu of the app’s Dock icon: macOS’s.
Required Methods§
Replaces the menu whole; the system shows it above its own items. A choice reaches the app
as EmbedderClient::dock_menu_selected(id).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".