Skip to main content

ImpactProcDef

Struct ImpactProcDef 

Source
pub struct ImpactProcDef {
Show 17 fields pub spell: Option<String>, pub auto_attack_hand: Option<String>, pub proc_type_mask_spell_id: Option<u32>, pub proc_type_mask_effect: Option<u8>, pub talent: Option<String>, pub hook: Option<String>, pub chance_pct: ScalarRef, pub rng_model: ImpactProcRngDef, pub icd_ms: Option<ScalarRef>, pub target_icd_ms: u32, pub phase: Vec<ImpactProcPhaseDef>, pub hit_mask: Vec<ImpactProcHitDef>, pub charges: u8, pub periodic_only: bool, pub skip_periodic: bool, pub physical_only: bool, pub effects: Vec<EventEffectDef>,
}

Fields§

§spell: Option<String>§auto_attack_hand: Option<String>§proc_type_mask_spell_id: Option<u32>§proc_type_mask_effect: Option<u8>§talent: Option<String>§hook: Option<String>§chance_pct: ScalarRef§rng_model: ImpactProcRngDef§icd_ms: Option<ScalarRef>§target_icd_ms: u32§phase: Vec<ImpactProcPhaseDef>§hit_mask: Vec<ImpactProcHitDef>§charges: u8§periodic_only: bool§skip_periodic: bool§physical_only: bool§effects: Vec<EventEffectDef>

Trait Implementations§

Source§

impl Debug for ImpactProcDef

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ImpactProcDef

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,