Trait ItemAttributesContainerInterface

Source
pub trait ItemAttributesContainerInterface {
    // Required method
    fn get_attributes(&self) -> &HashMap<ItemAttributesType, ItemAttributes>;

    // Provided methods
    fn get_bait_attributes(&self) -> Option<&BaitAttributes> { ... }
    fn get_purchasable_attributes(&self) -> Option<&PurchasableAttributes> { ... }
    fn get_rod_attributes(&self) -> Option<&RodAttributes> { ... }
    fn is_bait(&self) -> bool { ... }
    fn is_purchasable(&self) -> bool { ... }
    fn is_rod(&self) -> bool { ... }
    fn get_bait_level(&self) -> Option<u64> { ... }
    fn get_cost(&self) -> Option<u32> { ... }
    fn get_rod_level(&self) -> Option<u64> { ... }
}

Required Methods§

Provided Methods§

Implementors§