pub trait IMapUnitAICommandMenu: IMapBasicMenu {
// Provided methods
fn m_map_unit_menu_content(self) -> MapUnitCommandMenuContent { ... }
fn set_m_map_unit_menu_content(self, value: MapUnitCommandMenuContent) { ... }
fn m_unit(self) -> Unit { ... }
fn set_m_unit(self, value: Unit) { ... }
fn m_open_callback(self) -> Action { ... }
fn set_m_open_callback(self, value: Action) { ... }
fn m_close_callback(self) -> Action { ... }
fn set_m_close_callback(self, value: Action) { ... }
}Provided Methods§
fn m_unit(self) -> Unit
fn set_m_unit(self, value: Unit)
fn m_open_callback(self) -> Action
fn set_m_open_callback(self, value: Action)
fn m_close_callback(self) -> Action
fn set_m_close_callback(self, value: Action)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.