Enum arcdps::BuffCategory
source · #[repr(u8)]pub enum BuffCategory {
Boon = 0,
Any = 1,
Condition = 2,
Food = 5,
Upgrade = 7,
Boost = 9,
Trait = 12,
Transform = 13,
Enhancement = 14,
Stance = 17,
}
Expand description
Buff info category after 13 December 2022.
Used in StateChange::BuffInfo
events.
Variants§
Boon = 0
Buff is a Boon.
Any = 1
Buff is generic category.
Condition = 2
Buff is a Condition.
Food = 5
Buff is granted by Food consumable.
Upgrade = 7
Buff is a gear item or upgrade.
Boost = 9
Buff is granted by a Boost consumable.
Trait = 12
Buff is granted by a Trait.
Transform = 13
Buff is a Transform.
Enhancement = 14
Buff is Enhancement granted by a Utility consumable.
Stance = 17
Buff is a Stance.
Trait Implementations§
source§impl Clone for BuffCategory
impl Clone for BuffCategory
source§fn clone(&self) -> BuffCategory
fn clone(&self) -> BuffCategory
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 BuffCategory
impl Debug for BuffCategory
source§impl<'de> Deserialize<'de> for BuffCategory
impl<'de> Deserialize<'de> for BuffCategory
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for BuffCategory
impl Hash for BuffCategory
source§impl Ord for BuffCategory
impl Ord for BuffCategory
source§fn cmp(&self, other: &BuffCategory) -> Ordering
fn cmp(&self, other: &BuffCategory) -> 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 BuffCategory
impl PartialEq for BuffCategory
source§fn eq(&self, other: &BuffCategory) -> bool
fn eq(&self, other: &BuffCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BuffCategory
impl PartialOrd for BuffCategory
source§fn partial_cmp(&self, other: &BuffCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &BuffCategory) -> 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 BuffCategory
impl Serialize for BuffCategory
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
source§impl TryFrom<u8> for BuffCategory
impl TryFrom<u8> for BuffCategory
§type Error = TryFromPrimitiveError<BuffCategory>
type Error = TryFromPrimitiveError<BuffCategory>
The type returned in the event of a conversion error.
source§fn try_from(
number: u8
) -> Result<BuffCategory, TryFromPrimitiveError<BuffCategory>>
fn try_from( number: u8 ) -> Result<BuffCategory, TryFromPrimitiveError<BuffCategory>>
Performs the conversion.
source§impl TryFromPrimitive for BuffCategory
impl TryFromPrimitive for BuffCategory
type Primitive = u8
type Error = TryFromPrimitiveError<BuffCategory>
const NAME: &'static str = "BuffCategory"
fn try_from_primitive( number: <BuffCategory as TryFromPrimitive>::Primitive ) -> Result<BuffCategory, TryFromPrimitiveError<BuffCategory>>
impl Copy for BuffCategory
impl Eq for BuffCategory
impl StructuralPartialEq for BuffCategory
Auto Trait Implementations§
impl Freeze for BuffCategory
impl RefUnwindSafe for BuffCategory
impl Send for BuffCategory
impl Sync for BuffCategory
impl Unpin for BuffCategory
impl UnwindSafe for BuffCategory
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