pub enum BagCategory {
Items,
Medicine,
Balls,
Battle,
Key,
Other,
}Expand description
Broad classification of item types, used by UI code to organise bag menus.
Variants§
Items
General consumables and utility items.
Medicine
HP / PP / status recovery items.
Balls
Capture devices (balls / traps / etc.).
Battle
Items usable only in battle (X items, Guard Spec., etc.).
Key
Key / plot items that cannot be sold or discarded.
Other
Catch-all for categories not covered above.
Trait Implementations§
Source§impl Clone for BagCategory
impl Clone for BagCategory
Source§fn clone(&self) -> BagCategory
fn clone(&self) -> BagCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BagCategory
Source§impl Debug for BagCategory
impl Debug for BagCategory
impl Eq for BagCategory
Source§impl Hash for BagCategory
impl Hash for BagCategory
Source§impl PartialEq for BagCategory
impl PartialEq for BagCategory
impl StructuralPartialEq for BagCategory
Auto Trait Implementations§
impl Freeze for BagCategory
impl RefUnwindSafe for BagCategory
impl Send for BagCategory
impl Sync for BagCategory
impl Unpin for BagCategory
impl UnsafeUnpin for BagCategory
impl UnwindSafe for BagCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more