Enum arcdps::evtc::buff::BuffDamageResult
source · #[repr(u8)]pub enum BuffDamageResult {
Hit = 0,
InvulnByBuff = 1,
InvulnBySkill1 = 2,
InvulnBySkill2 = 3,
InvulnBySkill3 = 4,
Unknown(u8),
}
Expand description
Buff damage tick results.
Variants§
Hit = 0
Expected to hit.
InvulnByBuff = 1
Target invulnerable by buff.
InvulnBySkill1 = 2
Target invulnerable by player skill.
InvulnBySkill2 = 3
Target invulnerable by player skill.
InvulnBySkill3 = 4
Target invulnerable by player skill.
Unknown(u8)
Unknown or invalid.
Trait Implementations§
source§impl Clone for BuffDamageResult
impl Clone for BuffDamageResult
source§fn clone(&self) -> BuffDamageResult
fn clone(&self) -> BuffDamageResult
Returns a copy 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 BuffDamageResult
impl Debug for BuffDamageResult
source§impl<'de> Deserialize<'de> for BuffDamageResult
impl<'de> Deserialize<'de> for BuffDamageResult
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffDamageResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffDamageResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<u8> for BuffDamageResult
impl From<u8> for BuffDamageResult
source§fn from(number: u8) -> BuffDamageResult
fn from(number: u8) -> BuffDamageResult
Converts to this type from the input type.
source§impl FromPrimitive for BuffDamageResult
impl FromPrimitive for BuffDamageResult
type Primitive = u8
fn from_primitive( number: <BuffDamageResult as FromPrimitive>::Primitive ) -> BuffDamageResult
source§impl Hash for BuffDamageResult
impl Hash for BuffDamageResult
source§impl Ord for BuffDamageResult
impl Ord for BuffDamageResult
source§fn cmp(&self, other: &BuffDamageResult) -> Ordering
fn cmp(&self, other: &BuffDamageResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BuffDamageResult
impl PartialEq for BuffDamageResult
source§fn eq(&self, other: &BuffDamageResult) -> bool
fn eq(&self, other: &BuffDamageResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BuffDamageResult
impl PartialOrd for BuffDamageResult
source§fn partial_cmp(&self, other: &BuffDamageResult) -> Option<Ordering>
fn partial_cmp(&self, other: &BuffDamageResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BuffDamageResult
impl Serialize for BuffDamageResult
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for BuffDamageResult
impl Eq for BuffDamageResult
impl StructuralPartialEq for BuffDamageResult
Auto Trait Implementations§
impl Freeze for BuffDamageResult
impl RefUnwindSafe for BuffDamageResult
impl Send for BuffDamageResult
impl Sync for BuffDamageResult
impl Unpin for BuffDamageResult
impl UnwindSafe for BuffDamageResult
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