Struct AnimationStart
pub struct AnimationStart {
pub time: u64,
pub agent: AgentId,
pub target: AgentId,
pub skill_id: u32,
pub reference_id: u32,
pub duration_execute: i32,
pub duration_control: i32,
}Expand description
Animation start.
Fields§
§time: u64Time of registering the activation.
agent: AgentIdAgent starting the animation.
target: AgentIdTarget agent, if applicable.
skill_id: u32Id of skill.
reference_id: u32Reference id.
Emote id for emote. Item id for bundle pickup.
duration_execute: i32Duration until minimum of last significant trigger.
duration_control: i32Duration until control is returned.
Implementations§
§impl AnimationStart
impl AnimationStart
pub const fn kind(&self) -> AnimationKind
pub const fn kind(&self) -> AnimationKind
Returns the AnimationKind.
Trait Implementations§
§impl Clone for AnimationStart
impl Clone for AnimationStart
§fn clone(&self) -> AnimationStart
fn clone(&self) -> AnimationStart
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 AnimationStart
impl Debug for AnimationStart
§impl<'de> Deserialize<'de> for AnimationStart
impl<'de> Deserialize<'de> for AnimationStart
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationStart, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationStart, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for AnimationStart
impl Extract for AnimationStart
§impl Serialize for AnimationStart
impl Serialize for AnimationStart
§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 TryExtract for AnimationStart
impl TryExtract for AnimationStart
§fn can_extract(event: &Event) -> bool
fn can_extract(event: &Event) -> bool
Checks whether
Self can be extracted from the event.§fn try_extract(event: &Event) -> Option<Self>
fn try_extract(event: &Event) -> Option<Self>
Attempts to extract
Self from the combat event.Auto Trait Implementations§
impl Freeze for AnimationStart
impl RefUnwindSafe for AnimationStart
impl Send for AnimationStart
impl Sync for AnimationStart
impl Unpin for AnimationStart
impl UnsafeUnpin for AnimationStart
impl UnwindSafe for AnimationStart
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