pub struct TransformativeInput {
pub character_level: u32,
pub elemental_mastery: f64,
pub reaction: Reaction,
pub reaction_bonus: f64,
}Expand description
Input for transformative reaction damage calculation.
Fields§
§character_level: u32Character level (1-100).
elemental_mastery: f64Elemental mastery.
reaction: ReactionTransformative reaction type.
reaction_bonus: f64Reaction DMG bonus in decimal form.
Trait Implementations§
Source§impl Clone for TransformativeInput
impl Clone for TransformativeInput
Source§fn clone(&self) -> TransformativeInput
fn clone(&self) -> TransformativeInput
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 TransformativeInput
impl Debug for TransformativeInput
Source§impl<'de> Deserialize<'de> for TransformativeInput
impl<'de> Deserialize<'de> for TransformativeInput
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
Source§impl PartialEq for TransformativeInput
impl PartialEq for TransformativeInput
Source§impl Serialize for TransformativeInput
impl Serialize for TransformativeInput
impl StructuralPartialEq for TransformativeInput
Auto Trait Implementations§
impl Freeze for TransformativeInput
impl RefUnwindSafe for TransformativeInput
impl Send for TransformativeInput
impl Sync for TransformativeInput
impl Unpin for TransformativeInput
impl UnsafeUnpin for TransformativeInput
impl UnwindSafe for TransformativeInput
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