pub struct ProcProvenance {
pub trigger_spell_id: u32,
pub kind: ProcSourceKind,
pub policy: ProcPolicy,
}Expand description
Triggering-action identity and policy carried by each impact.
Fields§
§trigger_spell_id: u32§kind: ProcSourceKind§policy: ProcPolicyImplementations§
Source§impl ProcProvenance
impl ProcProvenance
pub fn from_spell( game_data: &ResolvedGameData, trigger_spell_id: u32, kind: ProcSourceKind, ) -> Self
Trait Implementations§
Source§impl Clone for ProcProvenance
impl Clone for ProcProvenance
Source§fn clone(&self) -> ProcProvenance
fn clone(&self) -> ProcProvenance
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 ProcProvenance
impl Debug for ProcProvenance
Source§impl Default for ProcProvenance
impl Default for ProcProvenance
Source§fn default() -> ProcProvenance
fn default() -> ProcProvenance
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProcProvenance
impl PartialEq for ProcProvenance
impl Copy for ProcProvenance
impl Eq for ProcProvenance
impl StructuralPartialEq for ProcProvenance
Auto Trait Implementations§
impl Freeze for ProcProvenance
impl RefUnwindSafe for ProcProvenance
impl Send for ProcProvenance
impl Sync for ProcProvenance
impl Unpin for ProcProvenance
impl UnsafeUnpin for ProcProvenance
impl UnwindSafe for ProcProvenance
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