Enum AnimationKind
pub enum AnimationKind {
Skill,
Dodge,
WeaponDraw,
WeaponStow,
GadgetInteract,
Emote,
BundlePickup,
}Expand description
Animation kind.
Variants§
Skill
Skill activation or unknown.
Dodge
Dodge.
WeaponDraw
Weapon draw.
WeaponStow
Weapon stow.
GadgetInteract
Channeled interaction with gadget.
Emote
Emote.
reference_id contains the (volatile) emote id.
Map to stable GUID via [StateChange::IdToGUID] event.
BundlePickup
Bundle item pickup.
reference_id contains the (stable) item id.
Implementations§
§impl AnimationKind
impl AnimationKind
pub const fn new(skill_id: u32) -> AnimationKind
pub const fn new(skill_id: u32) -> AnimationKind
Determines the animation kind from a skill id.
Trait Implementations§
§impl Clone for AnimationKind
impl Clone for AnimationKind
§fn clone(&self) -> AnimationKind
fn clone(&self) -> AnimationKind
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 AnimationKind
impl Debug for AnimationKind
§impl<'de> Deserialize<'de> for AnimationKind
impl<'de> Deserialize<'de> for AnimationKind
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for AnimationKind
impl Display for AnimationKind
§impl EnumCount for AnimationKind
impl EnumCount for AnimationKind
§impl<'_derivative_strum> From<&'_derivative_strum AnimationKind> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AnimationKind> for &'static str
§fn from(x: &'_derivative_strum AnimationKind) -> &'static str
fn from(x: &'_derivative_strum AnimationKind) -> &'static str
Converts to this type from the input type.
§impl From<AnimationKind> for &'static str
impl From<AnimationKind> for &'static str
§fn from(x: AnimationKind) -> &'static str
fn from(x: AnimationKind) -> &'static str
Converts to this type from the input type.
§impl Hash for AnimationKind
impl Hash for AnimationKind
§impl IntoEnumIterator for AnimationKind
impl IntoEnumIterator for AnimationKind
type Iterator = AnimationKindIter
fn iter() -> AnimationKindIter ⓘ
§impl Ord for AnimationKind
impl Ord for AnimationKind
§impl PartialEq for AnimationKind
impl PartialEq for AnimationKind
§impl PartialOrd for AnimationKind
impl PartialOrd for AnimationKind
§impl Serialize for AnimationKind
impl Serialize for AnimationKind
§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 VariantNames for AnimationKind
impl VariantNames for AnimationKind
impl Copy for AnimationKind
impl Eq for AnimationKind
impl StructuralPartialEq for AnimationKind
Auto Trait Implementations§
impl Freeze for AnimationKind
impl RefUnwindSafe for AnimationKind
impl Send for AnimationKind
impl Sync for AnimationKind
impl Unpin for AnimationKind
impl UnsafeUnpin for AnimationKind
impl UnwindSafe for AnimationKind
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