Skip to main content

IGodGrowthData_StyleItemsMethods

Trait IGodGrowthData_StyleItemsMethods 

Source
pub trait IGodGrowthData_StyleItemsMethods: IGodGrowthData_StyleItems {
    // Provided methods
    fn ctor(self) { ... }
    fn add(self, style: impl Into<BattleStyle_Types>, item: impl Into<ItemData>) { ... }
    fn add_2(
        self,
        style: impl Into<BattleStyle_Types>,
        items: impl Into<List_1<ItemData>>,
    ) { ... }
    fn clear(self) { ... }
    fn get_item(self, i: impl Into<i32>) -> List_1<ItemData> { ... }
    fn get_item_2(self, style: impl Into<BattleStyle_Types>) -> List_1<ItemData> { ... }
    fn get_total_count(self) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn add(self, style: impl Into<BattleStyle_Types>, item: impl Into<ItemData>)

Add(crate::app::battlestyle::BattleStyle_Types, crate::app::itemdata::ItemData) overload

Source

fn add_2( self, style: impl Into<BattleStyle_Types>, items: impl Into<List_1<ItemData>>, )

Add(crate::app::battlestyle::BattleStyle_Types, crate::system::collections::generic::list_1::List_1<crate::app::itemdata::ItemData>) overload

Source

fn clear(self)

Clear() overload

Source

fn get_item(self, i: impl Into<i32>) -> List_1<ItemData>

get_Item(i32) overload

Source

fn get_item_2(self, style: impl Into<BattleStyle_Types>) -> List_1<ItemData>

get_Item(crate::app::battlestyle::BattleStyle_Types) overload

Source

fn get_total_count(self) -> i32

get_TotalCount() 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: IGodGrowthData_StyleItems> IGodGrowthData_StyleItemsMethods for __T

Available on crate feature app-godgrowthdata only.