pub(crate) struct EnchantmentRowData {
id: i32,
name: String,
duration: i32,
effect_types: [i32; 3],
effect_args: [i32; 3],
effect_points_min: [Option<f64>; 3],
effect_scaling_points: [Option<f64>; 3],
scaling_class: i32,
item_level_min: i32,
item_level_max: i32,
max_level: i32,
}Fields§
§id: i32§name: String§duration: i32§effect_types: [i32; 3]§effect_args: [i32; 3]§effect_points_min: [Option<f64>; 3]§effect_scaling_points: [Option<f64>; 3]§scaling_class: i32§item_level_min: i32§item_level_max: i32§max_level: i32Trait Implementations§
Source§impl From<&EnchantmentFlat> for EnchantmentRowData
impl From<&EnchantmentFlat> for EnchantmentRowData
Source§fn from(flat: &EnchantmentFlat) -> Self
fn from(flat: &EnchantmentFlat) -> Self
Converts to this type from the input type.
Source§impl From<EnchantmentRowWire> for EnchantmentRowData
impl From<EnchantmentRowWire> for EnchantmentRowData
Source§fn from(wire: EnchantmentRowWire) -> Self
fn from(wire: EnchantmentRowWire) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EnchantmentRowData
impl RefUnwindSafe for EnchantmentRowData
impl Send for EnchantmentRowData
impl Sync for EnchantmentRowData
impl Unpin for EnchantmentRowData
impl UnsafeUnpin for EnchantmentRowData
impl UnwindSafe for EnchantmentRowData
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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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 more