Enum LegacyEventCategory
pub enum LegacyEventCategory {
Activation,
BuffRemove,
BuffApply,
BuffDamage,
}Expand description
Legacy event categories.
Variants§
Implementations§
§impl LegacyEventCategory
impl LegacyEventCategory
pub fn from_event(event: &Event) -> Option<LegacyEventCategory>
Trait Implementations§
§impl Clone for LegacyEventCategory
impl Clone for LegacyEventCategory
§fn clone(&self) -> LegacyEventCategory
fn clone(&self) -> LegacyEventCategory
Returns a duplicate 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 LegacyEventCategory
impl Debug for LegacyEventCategory
§impl<'de> Deserialize<'de> for LegacyEventCategory
impl<'de> Deserialize<'de> for LegacyEventCategory
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyEventCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyEventCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for LegacyEventCategory
impl Hash for LegacyEventCategory
§impl Ord for LegacyEventCategory
impl Ord for LegacyEventCategory
§fn cmp(&self, other: &LegacyEventCategory) -> Ordering
fn cmp(&self, other: &LegacyEventCategory) -> 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
§impl PartialEq for LegacyEventCategory
impl PartialEq for LegacyEventCategory
§impl PartialOrd for LegacyEventCategory
impl PartialOrd for LegacyEventCategory
§impl Serialize for LegacyEventCategory
impl Serialize for LegacyEventCategory
§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 Copy for LegacyEventCategory
impl Eq for LegacyEventCategory
impl StructuralPartialEq for LegacyEventCategory
Auto Trait Implementations§
impl Freeze for LegacyEventCategory
impl RefUnwindSafe for LegacyEventCategory
impl Send for LegacyEventCategory
impl Sync for LegacyEventCategory
impl Unpin for LegacyEventCategory
impl UnsafeUnpin for LegacyEventCategory
impl UnwindSafe for LegacyEventCategory
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