pub enum Enchantment {
SwordOfVengeance = 11,
MariosBeard = 31,
ManyFeetBoots = 41,
ShadowOfTheCowboy = 51,
AdventurersArchaeologicalAura = 61,
ThirstyWanderer = 71,
UnholyAcquisitiveness = 81,
TheGraveRobbersPrayer = 91,
RobberBaronRitual = 101,
}Expand description
A enchantment, that gives a bonus to an aspect, if the item
Variants§
SwordOfVengeance = 11
Increased crit damage
MariosBeard = 31
Finds more mushrooms
ManyFeetBoots = 41
Shortens travel time
ShadowOfTheCowboy = 51
Increased reaction score in combat
AdventurersArchaeologicalAura = 61
Extra XP on expeditions
ThirstyWanderer = 71
Allows an extra beer
UnholyAcquisitiveness = 81
Find items at paths edge (expeditions) more often
TheGraveRobbersPrayer = 91
Find extra gold on expeditions
RobberBaronRitual = 101
Increase the chance of loot against other players
Implementations§
Source§impl Enchantment
impl Enchantment
pub fn equipment_slot(&self) -> EquipmentSlot
Trait Implementations§
Source§impl Clone for Enchantment
impl Clone for Enchantment
Source§fn clone(&self) -> Enchantment
fn clone(&self) -> Enchantment
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 Enchantment
impl Debug for Enchantment
Source§impl<'de> Deserialize<'de> for Enchantment
impl<'de> Deserialize<'de> for Enchantment
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 Enum for Enchantment
impl Enum for Enchantment
Source§impl<V> EnumArray<V> for Enchantment
impl<V> EnumArray<V> for Enchantment
Source§impl FromPrimitive for Enchantment
impl FromPrimitive for Enchantment
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl Hash for Enchantment
impl Hash for Enchantment
Source§impl IntoEnumIterator for Enchantment
impl IntoEnumIterator for Enchantment
type Iterator = EnchantmentIter
fn iter() -> EnchantmentIter ⓘ
Source§impl PartialEq for Enchantment
impl PartialEq for Enchantment
Source§impl Serialize for Enchantment
impl Serialize for Enchantment
impl Copy for Enchantment
impl Eq for Enchantment
impl StructuralPartialEq for Enchantment
Auto Trait Implementations§
impl Freeze for Enchantment
impl RefUnwindSafe for Enchantment
impl Send for Enchantment
impl Sync for Enchantment
impl Unpin for Enchantment
impl UnwindSafe for Enchantment
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.