pub trait IFoodstuffPoolMethods: IFoodstuffPool {
Show 18 methods
// Provided methods
fn get_foodstuffs(self) -> Array<FoodstuffData> { ... }
fn get_normal_foodstuffs(self) -> Array<FoodstuffData> { ... }
fn get_normal_foodstuff_count(self) -> i32 { ... }
fn get_rare_foodstuff(self) -> FoodstuffData { ... }
fn reset(self, food: impl Into<FoodData>) { ... }
fn get_type_count(self) -> i32 { ... }
fn is_include_raise_reliance(self) -> bool { ... }
fn count(self, data: impl Into<FoodstuffData>) -> i32 { ... }
fn count_except_for_raise_reliance(self) -> i32 { ... }
fn can_add_item(self, data: impl Into<FoodstuffData>) -> bool { ... }
fn try_add_item(self, data: impl Into<FoodstuffData>) -> bool { ... }
fn try_remove_item(self, data: impl Into<FoodstuffData>) -> bool { ... }
fn try_remove_last_normal_item(self) -> (bool, FoodstuffData) { ... }
fn try_remove_rare_item(self) -> (bool, FoodstuffData) { ... }
fn get_normal_foodstuff_and_count(self) -> Dictionary_2<FoodstuffData, i32> { ... }
fn get_normal_foodstuff_most_count(self) -> i32 { ... }
fn is_accept(self, data: impl Into<FoodstuffData>) -> (bool, FoodstuffData) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_foodstuffs(self) -> Array<FoodstuffData>
fn get_foodstuffs(self) -> Array<FoodstuffData>
GetFoodstuffs() overload
Sourcefn get_normal_foodstuffs(self) -> Array<FoodstuffData>
fn get_normal_foodstuffs(self) -> Array<FoodstuffData>
GetNormalFoodstuffs() overload
Sourcefn get_normal_foodstuff_count(self) -> i32
fn get_normal_foodstuff_count(self) -> i32
GetNormalFoodstuffCount() overload
Sourcefn get_rare_foodstuff(self) -> FoodstuffData
fn get_rare_foodstuff(self) -> FoodstuffData
GetRareFoodstuff() overload
Sourcefn get_type_count(self) -> i32
fn get_type_count(self) -> i32
get_TypeCount() overload
Sourcefn is_include_raise_reliance(self) -> bool
fn is_include_raise_reliance(self) -> bool
IsIncludeRaiseReliance() overload
Sourcefn count(self, data: impl Into<FoodstuffData>) -> i32
fn count(self, data: impl Into<FoodstuffData>) -> i32
Count(crate::app::foodstuffdata::FoodstuffData) overload
Sourcefn count_except_for_raise_reliance(self) -> i32
fn count_except_for_raise_reliance(self) -> i32
CountExceptForRaiseReliance() overload
Sourcefn can_add_item(self, data: impl Into<FoodstuffData>) -> bool
fn can_add_item(self, data: impl Into<FoodstuffData>) -> bool
CanAddItem(crate::app::foodstuffdata::FoodstuffData) overload
Sourcefn try_add_item(self, data: impl Into<FoodstuffData>) -> bool
fn try_add_item(self, data: impl Into<FoodstuffData>) -> bool
TryAddItem(crate::app::foodstuffdata::FoodstuffData) overload
Sourcefn try_remove_item(self, data: impl Into<FoodstuffData>) -> bool
fn try_remove_item(self, data: impl Into<FoodstuffData>) -> bool
TryRemoveItem(crate::app::foodstuffdata::FoodstuffData) overload
Sourcefn try_remove_last_normal_item(self) -> (bool, FoodstuffData)
fn try_remove_last_normal_item(self) -> (bool, FoodstuffData)
TryRemoveLastNormalItem(*mutcrate::app::foodstuffdata::FoodstuffData) overload
Sourcefn try_remove_rare_item(self) -> (bool, FoodstuffData)
fn try_remove_rare_item(self) -> (bool, FoodstuffData)
TryRemoveRareItem(*mutcrate::app::foodstuffdata::FoodstuffData) overload
Sourcefn get_normal_foodstuff_and_count(self) -> Dictionary_2<FoodstuffData, i32>
fn get_normal_foodstuff_and_count(self) -> Dictionary_2<FoodstuffData, i32>
GetNormalFoodstuffAndCount() overload
Sourcefn get_normal_foodstuff_most_count(self) -> i32
fn get_normal_foodstuff_most_count(self) -> i32
GetNormalFoodstuffMostCount() overload
Sourcefn is_accept(self, data: impl Into<FoodstuffData>) -> (bool, FoodstuffData)
fn is_accept(self, data: impl Into<FoodstuffData>) -> (bool, FoodstuffData)
IsAccept(crate::app::foodstuffdata::FoodstuffData, *mutcrate::app::foodstuffdata::FoodstuffData) 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§
impl<__T: IFoodstuffPool> IFoodstuffPoolMethods for __T
app-foodstuffpool only.