pub struct ProcPolicy {
pub suppress_caster_procs: bool,
pub suppress_target_procs: bool,
pub can_proc_from_procs: bool,
pub can_proc_from_suppressed_target: bool,
pub enable_procs_from_suppressed: bool,
pub can_proc_from_suppressed: bool,
pub only_proc_from_class_abilities: bool,
pub allow_class_ability_procs: bool,
}Expand description
DBC policy carried by a triggering action or registered proc driver.
Fields§
§suppress_caster_procs: bool§suppress_target_procs: bool§can_proc_from_procs: bool§can_proc_from_suppressed_target: bool§enable_procs_from_suppressed: bool§can_proc_from_suppressed: bool§only_proc_from_class_abilities: bool§allow_class_ability_procs: boolImplementations§
Source§impl ProcPolicy
impl ProcPolicy
pub fn from_attributes(attributes: &[i32]) -> Self
Trait Implementations§
Source§impl Clone for ProcPolicy
impl Clone for ProcPolicy
Source§fn clone(&self) -> ProcPolicy
fn clone(&self) -> ProcPolicy
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 ProcPolicy
impl Debug for ProcPolicy
Source§impl Default for ProcPolicy
impl Default for ProcPolicy
Source§fn default() -> ProcPolicy
fn default() -> ProcPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProcPolicy
impl PartialEq for ProcPolicy
impl Copy for ProcPolicy
impl Eq for ProcPolicy
impl StructuralPartialEq for ProcPolicy
Auto Trait Implementations§
impl Freeze for ProcPolicy
impl RefUnwindSafe for ProcPolicy
impl Send for ProcPolicy
impl Sync for ProcPolicy
impl Unpin for ProcPolicy
impl UnsafeUnpin for ProcPolicy
impl UnwindSafe for ProcPolicy
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