Skip to main content

IDebugUnitAccessoryMenu_UnitBaseItemMethods

Trait IDebugUnitAccessoryMenu_UnitBaseItemMethods 

Source
pub trait IDebugUnitAccessoryMenu_UnitBaseItemMethods: IDebugUnitAccessoryMenu_UnitBaseItem {
    // Provided method
    fn ctor(self, unit: impl Into<Unit>) { ... }
}

Provided Methods§

Source

fn ctor(self, unit: impl Into<Unit>)

.ctor(crate::app::unit::Unit) overload

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.

Implementors§

Source§

impl<__T: IDebugUnitAccessoryMenu_UnitBaseItem> IDebugUnitAccessoryMenu_UnitBaseItemMethods for __T

Available on crate feature app-debugunitaccessorymenu only.