pub struct SpellRenderSpell {Show 14 fields
pub id: u32,
pub description: String,
pub description_variables: String,
pub cast_time: i32,
pub recovery_time: i32,
pub duration: i32,
pub max_charges: i32,
pub max_stacks: i32,
pub range_max_0: f32,
pub proc_rppm: f32,
pub internal_cooldown: i32,
pub file_name: String,
pub name: String,
pub effects: Vec<SpellEffect>,
}Fields§
§id: u32§description: String§description_variables: String§cast_time: i32§recovery_time: i32§duration: i32§max_charges: i32§max_stacks: i32§range_max_0: f32§proc_rppm: f32Source for $procrppm.
internal_cooldown: i32Source for $proccooldown.
file_name: String§name: String§effects: Vec<SpellEffect>Trait Implementations§
Source§impl Clone for SpellRenderSpell
impl Clone for SpellRenderSpell
Source§fn clone(&self) -> SpellRenderSpell
fn clone(&self) -> SpellRenderSpell
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 SpellRenderSpell
impl Debug for SpellRenderSpell
Source§impl Default for SpellRenderSpell
impl Default for SpellRenderSpell
Source§fn default() -> SpellRenderSpell
fn default() -> SpellRenderSpell
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpellRenderSpell
impl<'de> Deserialize<'de> for SpellRenderSpell
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SpellRenderSpell> for JsValuewhere
SpellRenderSpell: Serialize,
impl From<SpellRenderSpell> for JsValuewhere
SpellRenderSpell: Serialize,
Source§fn from(value: SpellRenderSpell) -> Self
fn from(value: SpellRenderSpell) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
impl FromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &SpellRenderSpellwhere
SpellRenderSpell: Serialize,
impl IntoWasmAbi for &SpellRenderSpellwhere
SpellRenderSpell: Serialize,
Source§impl IntoWasmAbi for SpellRenderSpellwhere
SpellRenderSpell: Serialize,
impl IntoWasmAbi for SpellRenderSpellwhere
SpellRenderSpell: Serialize,
Source§impl OptionFromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for SpellRenderSpellwhere
SpellRenderSpell: Serialize,
impl OptionIntoWasmAbi for SpellRenderSpellwhere
SpellRenderSpell: Serialize,
Source§impl RefFromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<SpellRenderSpell>
type Anchor = SelfOwner<SpellRenderSpell>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for SpellRenderSpell
impl Serialize for SpellRenderSpell
Source§impl Tsify for SpellRenderSpell
impl Tsify for SpellRenderSpell
const DECL: &'static str = "export interface SpellRenderSpell {\n id: number;\n description: string;\n description_variables: string;\n cast_time: number;\n recovery_time: number;\n duration: number;\n max_charges: number;\n max_stacks: number;\n range_max_0: number;\n /**\n * Source for `$procrppm`.\n */\n proc_rppm: number;\n /**\n * Source for `$proccooldown`.\n */\n internal_cooldown: number;\n file_name: string;\n name: string;\n effects: SpellEffect[];\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for SpellRenderSpellwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for SpellRenderSpellwhere
SpellRenderSpell: Serialize,
impl VectorIntoWasmAbi for SpellRenderSpellwhere
SpellRenderSpell: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for SpellRenderSpell
impl WasmDescribe for SpellRenderSpell
Auto Trait Implementations§
impl Freeze for SpellRenderSpell
impl RefUnwindSafe for SpellRenderSpell
impl Send for SpellRenderSpell
impl Sync for SpellRenderSpell
impl Unpin for SpellRenderSpell
impl UnsafeUnpin for SpellRenderSpell
impl UnwindSafe for SpellRenderSpell
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,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.