pub(crate) struct FinalizedAutoAttackProfile {
pub(crate) request: DamageRequestBinding,
pub(crate) weapon: Option<WeaponStats>,
pub(crate) hand: SwingHand,
pub(crate) dual_wield: bool,
pub(crate) weapon_multiplier: f64,
pub(crate) normalized: bool,
pub(crate) is_physical: bool,
pub(crate) stat_inheritance: PetStatInheritance,
}Expand description
Complete static weapon and companion inputs for one finalized swing definition.
Fields§
§request: DamageRequestBinding§weapon: Option<WeaponStats>§hand: SwingHand§dual_wield: bool§weapon_multiplier: f64§normalized: bool§is_physical: bool§stat_inheritance: PetStatInheritanceTrait Implementations§
Source§impl Clone for FinalizedAutoAttackProfile
impl Clone for FinalizedAutoAttackProfile
Source§fn clone(&self) -> FinalizedAutoAttackProfile
fn clone(&self) -> FinalizedAutoAttackProfile
Returns a duplicate 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 FinalizedAutoAttackProfile
impl Debug for FinalizedAutoAttackProfile
impl Copy for FinalizedAutoAttackProfile
Auto Trait Implementations§
impl Freeze for FinalizedAutoAttackProfile
impl RefUnwindSafe for FinalizedAutoAttackProfile
impl Send for FinalizedAutoAttackProfile
impl Sync for FinalizedAutoAttackProfile
impl Unpin for FinalizedAutoAttackProfile
impl UnsafeUnpin for FinalizedAutoAttackProfile
impl UnwindSafe for FinalizedAutoAttackProfile
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