pub struct SpellChannel {Show 15 fields
pub tick_count: u8,
pub tick_interval_ms: u32,
pub tick_damage: RuntimeDamageDef,
pub tick_spell_id: u32,
pub tick_damage_alt: RuntimeDamageDef,
pub tick_damage_alt_spell_id: u32,
pub tick_damage_aura: u32,
pub tick_cost: f64,
pub tick_cost_alt: f64,
pub tick_cost_aura: u32,
pub tick_effects: SpellEffectRange,
pub complete_effects: SpellEffectRange,
pub timing: SpellChannelTiming,
pub behavior: SpellChannelBehavior,
pub completion: SpellChannelCompletion,
}Expand description
Channel timing, payload, and completion behavior.
Fields§
§tick_count: u8§tick_interval_ms: u32§tick_damage: RuntimeDamageDef§tick_spell_id: u32§tick_damage_alt: RuntimeDamageDef§tick_damage_alt_spell_id: u32§tick_damage_aura: u32§tick_cost: f64§tick_cost_alt: f64§tick_cost_aura: u32§tick_effects: SpellEffectRange§complete_effects: SpellEffectRange§timing: SpellChannelTiming§behavior: SpellChannelBehavior§completion: SpellChannelCompletionTrait Implementations§
Source§impl Clone for SpellChannel
impl Clone for SpellChannel
Source§fn clone(&self) -> SpellChannel
fn clone(&self) -> SpellChannel
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 moreSource§impl Debug for SpellChannel
impl Debug for SpellChannel
impl Copy for SpellChannel
Auto Trait Implementations§
impl Freeze for SpellChannel
impl RefUnwindSafe for SpellChannel
impl Send for SpellChannel
impl Sync for SpellChannel
impl Unpin for SpellChannel
impl UnsafeUnpin for SpellChannel
impl UnwindSafe for SpellChannel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more