pub struct ChunkDamageProfile {
pub direct_damage: f64,
pub periodic_damage: f64,
pub pet_damage: f64,
}Expand description
Averaged across the chunk’s iterations.
Fields§
§direct_damage: f64§periodic_damage: f64§pet_damage: f64Trait Implementations§
Source§impl Clone for ChunkDamageProfile
impl Clone for ChunkDamageProfile
Source§fn clone(&self) -> ChunkDamageProfile
fn clone(&self) -> ChunkDamageProfile
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 ChunkDamageProfile
impl Debug for ChunkDamageProfile
Source§impl<'de> Deserialize<'de> for ChunkDamageProfile
impl<'de> Deserialize<'de> for ChunkDamageProfile
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 ChunkDamageProfile
impl PartialEq for ChunkDamageProfile
Source§impl Serialize for ChunkDamageProfile
impl Serialize for ChunkDamageProfile
impl StructuralPartialEq for ChunkDamageProfile
Auto Trait Implementations§
impl Freeze for ChunkDamageProfile
impl RefUnwindSafe for ChunkDamageProfile
impl Send for ChunkDamageProfile
impl Sync for ChunkDamageProfile
impl Unpin for ChunkDamageProfile
impl UnsafeUnpin for ChunkDamageProfile
impl UnwindSafe for ChunkDamageProfile
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