Skip to main content

IEatUnitsSelectMenuRelianceListContentMethods

Trait IEatUnitsSelectMenuRelianceListContentMethods 

Source
pub trait IEatUnitsSelectMenuRelianceListContentMethods: IEatUnitsSelectMenuRelianceListContent {
    // Provided methods
    fn set_info(self, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>) { ... }
    fn set_reliance_info(self, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>) { ... }
    fn set_color(
        self,
        game_object: impl Into<GameObject>,
        color: impl Into<Color>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_info(self, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>)

SetInfo(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn set_reliance_info(self, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>)

SetRelianceInfo(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn set_color(self, game_object: impl Into<GameObject>, color: impl Into<Color>)

SetColor(crate::unity_engine::gameobject::GameObject, crate::unity_engine::color::Color) overload

Source

fn ctor(self)

.ctor() 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: IEatUnitsSelectMenuRelianceListContent> IEatUnitsSelectMenuRelianceListContentMethods for __T

Available on crate feature app-eatunitsselectmenureliancelistcontent only.