struct ResolvedTargetBehavior {
requires_unshifted: bool,
allow_while_unshifted: bool,
requires_stealth: bool,
requires_behind_target: bool,
treat_as_area_effect: bool,
shapeshift_required_mask: u64,
shapeshift_excluded_mask: u64,
requires_main_hand: bool,
requires_off_hand: bool,
equipped_item_requirement: Option<EquippedItemRequirement>,
explicit_target_mask: u32,
required_explicit_target_mask: u32,
}Fields§
§requires_unshifted: bool§allow_while_unshifted: bool§requires_stealth: bool§requires_behind_target: bool§treat_as_area_effect: bool§shapeshift_required_mask: u64§shapeshift_excluded_mask: u64§requires_main_hand: bool§requires_off_hand: bool§equipped_item_requirement: Option<EquippedItemRequirement>§explicit_target_mask: u32§required_explicit_target_mask: u32Auto Trait Implementations§
impl Freeze for ResolvedTargetBehavior
impl RefUnwindSafe for ResolvedTargetBehavior
impl Send for ResolvedTargetBehavior
impl Sync for ResolvedTargetBehavior
impl Unpin for ResolvedTargetBehavior
impl UnsafeUnpin for ResolvedTargetBehavior
impl UnwindSafe for ResolvedTargetBehavior
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
§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