pub enum Consumable {
Potion,
Bomb,
BombOrPotion,
}
Variants§
Trait Implementations§
Source§impl Clone for Consumable
impl Clone for Consumable
Source§fn clone(&self) -> Consumable
fn clone(&self) -> Consumable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Consumable
impl Debug for Consumable
Source§impl FenRepresentable for Consumable
impl FenRepresentable for Consumable
Source§impl Hash for Consumable
impl Hash for Consumable
Source§impl PartialEq for Consumable
impl PartialEq for Consumable
impl Copy for Consumable
impl Eq for Consumable
impl StructuralPartialEq for Consumable
Auto Trait Implementations§
impl Freeze for Consumable
impl RefUnwindSafe for Consumable
impl Send for Consumable
impl Sync for Consumable
impl Unpin for Consumable
impl UnwindSafe for Consumable
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