pub trait ContextMenuContent<M> {
// Required method
fn into_context_menu(self) -> ContextMenuSource;
}Expand description
Anything Decorate::context_menu accepts: a Vec or array of entries, a closure building
them on summon, or a closure given the summon point. The marker parameter is the same E0119
dodge as IntoText.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".