pub struct AbilityState {
pub ability: Ability,
pub cooldown_remaining: f32,
pub is_casting: bool,
pub cast_progress: f32,
pub is_channeling: bool,
pub channel_elapsed: f32,
pub is_on_gcd: bool,
}Fields§
§ability: Ability§cooldown_remaining: f32§is_casting: bool§cast_progress: f32§is_channeling: bool§channel_elapsed: f32§is_on_gcd: boolImplementations§
Trait Implementations§
Source§impl Clone for AbilityState
impl Clone for AbilityState
Source§fn clone(&self) -> AbilityState
fn clone(&self) -> AbilityState
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 moreAuto Trait Implementations§
impl Freeze for AbilityState
impl RefUnwindSafe for AbilityState
impl Send for AbilityState
impl Sync for AbilityState
impl Unpin for AbilityState
impl UnsafeUnpin for AbilityState
impl UnwindSafe for AbilityState
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