Enum arcdps::evtc::buff::BuffCategoryOld
#[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§
§impl Clone for BuffCategoryOld
impl Clone for BuffCategoryOld
§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 more§impl Debug for BuffCategoryOld
impl Debug for BuffCategoryOld
§impl<'de> Deserialize<'de> for BuffCategoryOld
impl<'de> Deserialize<'de> for BuffCategoryOld
§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
§impl Hash for BuffCategoryOld
impl Hash for BuffCategoryOld
§impl Ord for BuffCategoryOld
impl Ord for BuffCategoryOld
§impl PartialEq for BuffCategoryOld
impl PartialEq for BuffCategoryOld
§impl PartialOrd for BuffCategoryOld
impl PartialOrd for BuffCategoryOld
§impl Serialize for BuffCategoryOld
impl Serialize for BuffCategoryOld
§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 BuffCategoryOld
impl TryFrom<u8> for BuffCategoryOld
§type Error = TryFromPrimitiveError<BuffCategoryOld>
type Error = TryFromPrimitiveError<BuffCategoryOld>
The type returned in the event of a conversion error.
§fn try_from(
number: u8,
) -> Result<BuffCategoryOld, TryFromPrimitiveError<BuffCategoryOld>>
fn try_from( number: u8, ) -> Result<BuffCategoryOld, TryFromPrimitiveError<BuffCategoryOld>>
Performs the conversion.
§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
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
)