Struct AnimationStop
pub struct AnimationStop {
pub time: u64,
pub agent: AgentId,
pub skill_id: u32,
pub duration_scaled: i32,
pub duration_unscaled: i32,
pub progress: AnimationProgress,
}Expand description
Animation stop.
Fields§
§time: u64Time of registering the activation.
agent: AgentIdAgent stopping the animation.
skill_id: u32Id of skill.
duration_scaled: i32Duration scaled with speed.
duration_unscaled: i32Duration without speed scaling.
progress: AnimationProgressAnimation progress.
Implementations§
§impl AnimationStop
impl AnimationStop
pub const fn kind(&self) -> AnimationKind
Trait Implementations§
§impl Clone for AnimationStop
impl Clone for AnimationStop
§fn clone(&self) -> AnimationStop
fn clone(&self) -> AnimationStop
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 AnimationStop
impl Debug for AnimationStop
§impl<'de> Deserialize<'de> for AnimationStop
impl<'de> Deserialize<'de> for AnimationStop
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationStop, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationStop, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for AnimationStop
impl Extract for AnimationStop
§impl Serialize for AnimationStop
impl Serialize for AnimationStop
§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 AnimationStop
impl TryExtract for AnimationStop
§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 AnimationStop
impl RefUnwindSafe for AnimationStop
impl Send for AnimationStop
impl Sync for AnimationStop
impl Unpin for AnimationStop
impl UnsafeUnpin for AnimationStop
impl UnwindSafe for AnimationStop
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