Struct rust_rpg_toolkit::inventory::Inventory [−][src]
pub struct Inventory {
pub items: Vec<InventoryEntry>,
pub credits: u32,
}
Fields
items: Vec<InventoryEntry>
credits: u32
Implementations
pub fn get_all_of_kind(&self, kinds: &[ItemKind]) -> Vec<InventoryEntry>ⓘ
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Inventory
impl UnwindSafe for Inventory
Blanket Implementations
Mutably borrows from an owned value. Read more