pub struct SpellTargetMasks {
pub explicit: SpellCastTargetFlags,
pub required: SpellCastTargetFlags,
}Expand description
Explicit and required target masks calculated from effect selectors and restrictions.
Fields§
§explicit: SpellCastTargetFlags§required: SpellCastTargetFlagsTrait Implementations§
Source§impl Clone for SpellTargetMasks
impl Clone for SpellTargetMasks
Source§fn clone(&self) -> SpellTargetMasks
fn clone(&self) -> SpellTargetMasks
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 SpellTargetMasks
impl Debug for SpellTargetMasks
Source§impl Default for SpellTargetMasks
impl Default for SpellTargetMasks
Source§fn default() -> SpellTargetMasks
fn default() -> SpellTargetMasks
Returns the “default value” for a type. Read more
Source§impl PartialEq for SpellTargetMasks
impl PartialEq for SpellTargetMasks
impl Copy for SpellTargetMasks
impl Eq for SpellTargetMasks
impl StructuralPartialEq for SpellTargetMasks
Auto Trait Implementations§
impl Freeze for SpellTargetMasks
impl RefUnwindSafe for SpellTargetMasks
impl Send for SpellTargetMasks
impl Sync for SpellTargetMasks
impl Unpin for SpellTargetMasks
impl UnsafeUnpin for SpellTargetMasks
impl UnwindSafe for SpellTargetMasks
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