pub struct DamageProfileView {
pub direct_damage: f64,
pub periodic_damage: f64,
pub pet_damage: f64,
pub by_target: Vec<DamageByTargetView>,
}Expand description
Damage profile split by direct, periodic, pet, and per-target damage.
Fields§
§direct_damage: f64§periodic_damage: f64§pet_damage: f64§by_target: Vec<DamageByTargetView>Trait Implementations§
Source§impl Clone for DamageProfileView
impl Clone for DamageProfileView
Source§fn clone(&self) -> DamageProfileView
fn clone(&self) -> DamageProfileView
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 DamageProfileView
impl Debug for DamageProfileView
Source§impl Serialize for DamageProfileView
impl Serialize for DamageProfileView
Source§impl Tsify for DamageProfileView
impl Tsify for DamageProfileView
const DECL: &'static str = "/**\n * Damage profile split by direct, periodic, pet, and per-target damage.\n */\nexport interface DamageProfileView {\n direct_damage: number;\n periodic_damage: number;\n pet_damage: number;\n by_target: DamageByTargetView[];\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for DamageProfileView
impl RefUnwindSafe for DamageProfileView
impl Send for DamageProfileView
impl Sync for DamageProfileView
impl Unpin for DamageProfileView
impl UnsafeUnpin for DamageProfileView
impl UnwindSafe for DamageProfileView
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