#[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<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 Display for BuffDamageResult
impl Display for BuffDamageResult
Source§impl<'_derivative_strum> From<&'_derivative_strum BuffDamageResult> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum BuffDamageResult> for &'static str
Source§fn from(x: &'_derivative_strum BuffDamageResult) -> &'static str
fn from(x: &'_derivative_strum BuffDamageResult) -> &'static str
Converts to this type from the input type.
Source§impl From<BuffDamageResult> for &'static str
impl From<BuffDamageResult> for &'static str
Source§fn from(x: BuffDamageResult) -> &'static str
fn from(x: BuffDamageResult) -> &'static str
Converts to this type from the input type.
Source§impl From<BuffDamageResult> for u8
impl From<BuffDamageResult> for u8
Source§fn from(enum_value: BuffDamageResult) -> Self
fn from(enum_value: BuffDamageResult) -> Self
Converts to this type from the input type.
Source§impl From<u8> for BuffDamageResult
impl From<u8> for BuffDamageResult
Source§impl FromPrimitive for BuffDamageResult
impl FromPrimitive for BuffDamageResult
Source§impl Hash for BuffDamageResult
impl Hash for BuffDamageResult
Source§impl IntoEnumIterator for BuffDamageResult
impl IntoEnumIterator for BuffDamageResult
type Iterator = BuffDamageResultIter
fn iter() -> BuffDamageResultIter ⓘ
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§impl PartialOrd for BuffDamageResult
impl PartialOrd for BuffDamageResult
Source§impl Serialize for BuffDamageResult
impl Serialize for BuffDamageResult
Source§impl VariantNames for BuffDamageResult
impl VariantNames for BuffDamageResult
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