pub struct EnchantmentTag {}Implementations§
Source§impl EnchantmentTag
impl EnchantmentTag
pub const CURSE: Identifier
pub const DOUBLE_TRADE_PRICE: Identifier
pub const EXCLUSIVE_SET_ARMOR: Identifier
pub const EXCLUSIVE_SET_BOOTS: Identifier
pub const EXCLUSIVE_SET_BOW: Identifier
pub const EXCLUSIVE_SET_CROSSBOW: Identifier
pub const EXCLUSIVE_SET_DAMAGE: Identifier
pub const EXCLUSIVE_SET_MINING: Identifier
pub const EXCLUSIVE_SET_RIPTIDE: Identifier
pub const IN_ENCHANTING_TABLE: Identifier
pub const NON_TREASURE: Identifier
pub const ON_MOB_SPAWN_EQUIPMENT: Identifier
pub const ON_RANDOM_LOOT: Identifier
pub const ON_TRADED_EQUIPMENT: Identifier
pub const PREVENTS_BEE_SPAWNS_WHEN_MINING: Identifier
pub const PREVENTS_DECORATED_POT_SHATTERING: Identifier
pub const PREVENTS_ICE_MELTING: Identifier
pub const PREVENTS_INFESTED_SPAWNS: Identifier
pub const SMELTS_LOOT: Identifier
pub const TOOLTIP_ORDER: Identifier
pub const TRADEABLE: Identifier
pub const TREASURE: Identifier
Auto Trait Implementations§
impl Freeze for EnchantmentTag
impl RefUnwindSafe for EnchantmentTag
impl Send for EnchantmentTag
impl Sync for EnchantmentTag
impl Unpin for EnchantmentTag
impl UnsafeUnpin for EnchantmentTag
impl UnwindSafe for EnchantmentTag
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>