pub struct SpellTargeting {
pub explicit_target_mask: u32,
pub required_explicit_target_mask: u32,
pub aoe_max_targets: u8,
pub aoe_reduced_targets: u8,
pub aoe_full_targets: u8,
pub aoe_base_mult: f64,
pub chain_targeting: bool,
pub chain_multiplier: f64,
pub split: bool,
pub is_aoe: bool,
}Expand description
Target selection and area-of-effect geometry.
Fields§
§explicit_target_mask: u32§required_explicit_target_mask: u32§aoe_max_targets: u8§aoe_reduced_targets: u8§aoe_full_targets: u8§aoe_base_mult: f64§chain_targeting: bool§chain_multiplier: f64§split: bool§is_aoe: boolTrait Implementations§
Source§impl Clone for SpellTargeting
impl Clone for SpellTargeting
Source§fn clone(&self) -> SpellTargeting
fn clone(&self) -> SpellTargeting
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 SpellTargeting
impl Debug for SpellTargeting
impl Copy for SpellTargeting
Auto Trait Implementations§
impl Freeze for SpellTargeting
impl RefUnwindSafe for SpellTargeting
impl Send for SpellTargeting
impl Sync for SpellTargeting
impl Unpin for SpellTargeting
impl UnsafeUnpin for SpellTargeting
impl UnwindSafe for SpellTargeting
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