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