pub struct EnchantmentCost {
pub a: i32,
pub b: i32,
}
Fields§
§a: i32
§b: i32
Trait Implementations§
Source§impl Clone for EnchantmentCost
impl Clone for EnchantmentCost
Source§fn clone(&self) -> EnchantmentCost
fn clone(&self) -> EnchantmentCost
Returns a copy 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 EnchantmentCost
impl Debug for EnchantmentCost
Source§impl Default for EnchantmentCost
impl Default for EnchantmentCost
Source§fn default() -> EnchantmentCost
fn default() -> EnchantmentCost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnchantmentCost
impl<'de> Deserialize<'de> for EnchantmentCost
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
Auto Trait Implementations§
impl Freeze for EnchantmentCost
impl RefUnwindSafe for EnchantmentCost
impl Send for EnchantmentCost
impl Sync for EnchantmentCost
impl Unpin for EnchantmentCost
impl UnwindSafe for EnchantmentCost
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