struct GearBuildState {
create_primary: PrimaryStats,
primary: PrimaryStats,
ratings: Ratings,
equipped_items: Vec<EquippedItem>,
set_counts: FastMap<i32, u32>,
set_infos: FastMap<i32, ItemSetInfo>,
crit_effectiveness_mult: f64,
unique_gem_colors: FastSet<String>,
has_crit_effectiveness_meta: bool,
main_hand: WeaponStats,
off_hand: Option<WeaponStats>,
matching_armor: bool,
}Fields§
§create_primary: PrimaryStats§primary: PrimaryStats§ratings: Ratings§equipped_items: Vec<EquippedItem>§set_counts: FastMap<i32, u32>§set_infos: FastMap<i32, ItemSetInfo>§crit_effectiveness_mult: f64§unique_gem_colors: FastSet<String>§has_crit_effectiveness_meta: bool§main_hand: WeaponStats§off_hand: Option<WeaponStats>§matching_armor: boolImplementations§
Source§impl GearBuildState
impl GearBuildState
async fn new(context: &StatScalingContext<'_>, race: RaceId) -> Self
Auto Trait Implementations§
impl Freeze for GearBuildState
impl RefUnwindSafe for GearBuildState
impl Send for GearBuildState
impl Sync for GearBuildState
impl Unpin for GearBuildState
impl UnsafeUnpin for GearBuildState
impl UnwindSafe for GearBuildState
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