#[repr(i32)]pub(super) enum BonusType {
Show 21 variants
Ilevel = 1,
Mod = 2,
Quality = 3,
Desc = 4,
Suffix = 5,
Socket = 6,
ReqLevel = 8,
Scaling = 11,
Scaling2 = 13,
SetIlevel = 14,
AddRank = 17,
AddItemEffect = 23,
ModItemStat = 25,
IlevelInPvp = 36,
SetIlevel2 = 42,
SquishCurve = 48,
ScaleConfig = 49,
ApplyBonus = 50,
ScaleConfig2 = 51,
CraftingQuality = 52,
PostSquishItemLevel = 53,
}Expand description
Every item_bonus_type Blizzard defines; value indices are our 0-based value_0..value_3.
Variants§
Ilevel = 1
Mod = 2
Quality = 3
Desc = 4
Suffix = 5
Socket = 6
ReqLevel = 8
Scaling = 11
Scaling2 = 13
SetIlevel = 14
AddRank = 17
AddItemEffect = 23
ModItemStat = 25
IlevelInPvp = 36
SetIlevel2 = 42
SquishCurve = 48
ScaleConfig = 49
ApplyBonus = 50
ScaleConfig2 = 51
CraftingQuality = 52
PostSquishItemLevel = 53
Implementations§
Trait Implementations§
impl Copy for BonusType
impl Eq for BonusType
impl StructuralPartialEq for BonusType
Auto Trait Implementations§
impl Freeze for BonusType
impl RefUnwindSafe for BonusType
impl Send for BonusType
impl Sync for BonusType
impl Unpin for BonusType
impl UnsafeUnpin for BonusType
impl UnwindSafe for BonusType
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,
§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