Enum arcdps::evtc::BuffCategory
#[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§
§impl Clone for BuffCategory
impl Clone for BuffCategory
§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 more§impl Debug for BuffCategory
impl Debug for BuffCategory
§impl<'de> Deserialize<'de> for BuffCategory
impl<'de> Deserialize<'de> for BuffCategory
§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
§impl Hash for BuffCategory
impl Hash for BuffCategory
§impl Ord for BuffCategory
impl Ord for BuffCategory
§impl PartialEq for BuffCategory
impl PartialEq for BuffCategory
§impl PartialOrd for BuffCategory
impl PartialOrd for BuffCategory
§impl Serialize for BuffCategory
impl Serialize for BuffCategory
§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 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.
§fn try_from(
number: u8,
) -> Result<BuffCategory, TryFromPrimitiveError<BuffCategory>>
fn try_from( number: u8, ) -> Result<BuffCategory, TryFromPrimitiveError<BuffCategory>>
Performs the conversion.
§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)