pub enum ItemPlace {
Equipment = 1,
MainInventory = 2,
WeaponShop = 3,
MageShop = 4,
FortressChest = 5,
}Expand description
All places, that items can be dragged to excluding companions
Variants§
Equipment = 1
The stuff a player can wear
MainInventory = 2
All items in the main 5 inventory slots
WeaponShop = 3
The items in the weapon slot
MageShop = 4
The items in the mage slot
FortressChest = 5
The items in the fortress chest slots
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemPlace
impl<'de> Deserialize<'de> for ItemPlace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoEnumIterator for ItemPlace
impl IntoEnumIterator for ItemPlace
type Iterator = ItemPlaceIter
fn iter() -> ItemPlaceIter ⓘ
impl Copy for ItemPlace
impl Eq for ItemPlace
impl StructuralPartialEq for ItemPlace
Auto Trait Implementations§
impl Freeze for ItemPlace
impl RefUnwindSafe for ItemPlace
impl Send for ItemPlace
impl Sync for ItemPlace
impl Unpin for ItemPlace
impl UnwindSafe for ItemPlace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.