pub struct SpellScalingFlat {Show 25 fields
pub level: i32,
pub rogue: f64,
pub druid: f64,
pub hunter: f64,
pub mage: f64,
pub paladin: f64,
pub priest: f64,
pub shaman: f64,
pub warlock: f64,
pub warrior: f64,
pub death_knight: f64,
pub monk: f64,
pub demon_hunter: f64,
pub evoker: f64,
pub adventurer: f64,
pub traveler: f64,
pub item: f64,
pub consumable: f64,
pub gem1: f64,
pub gem2: f64,
pub gem3: f64,
pub health: f64,
pub damage_replace_stat: f64,
pub damage_secondary: f64,
pub mana_consumable: f64,
}Fields§
§level: i32§rogue: f64§druid: f64§hunter: f64§mage: f64§paladin: f64§priest: f64§shaman: f64§warlock: f64§warrior: f64§death_knight: f64§monk: f64§demon_hunter: f64§evoker: f64§adventurer: f64§traveler: f64§item: f64§consumable: f64§gem1: f64§gem2: f64§gem3: f64§health: f64§damage_replace_stat: f64§damage_secondary: f64§mana_consumable: f64Trait Implementations§
Source§impl Clone for SpellScalingFlat
impl Clone for SpellScalingFlat
Source§fn clone(&self) -> SpellScalingFlat
fn clone(&self) -> SpellScalingFlat
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 CopyInsert for SpellScalingFlat
impl CopyInsert for SpellScalingFlat
Source§impl Debug for SpellScalingFlat
impl Debug for SpellScalingFlat
Source§impl Default for SpellScalingFlat
impl Default for SpellScalingFlat
Source§fn default() -> SpellScalingFlat
fn default() -> SpellScalingFlat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpellScalingFlat
impl<'de> Deserialize<'de> for SpellScalingFlat
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<SpellScalingFlat> for JsValuewhere
SpellScalingFlat: Serialize,
impl From<SpellScalingFlat> for JsValuewhere
SpellScalingFlat: Serialize,
Source§fn from(value: SpellScalingFlat) -> Self
fn from(value: SpellScalingFlat) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SpellScalingFlatwhere
Self: DeserializeOwned,
impl FromWasmAbi for SpellScalingFlatwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &SpellScalingFlatwhere
SpellScalingFlat: Serialize,
impl IntoWasmAbi for &SpellScalingFlatwhere
SpellScalingFlat: Serialize,
Source§impl IntoWasmAbi for SpellScalingFlatwhere
SpellScalingFlat: Serialize,
impl IntoWasmAbi for SpellScalingFlatwhere
SpellScalingFlat: Serialize,
Source§impl JsonSchema for SpellScalingFlat
impl JsonSchema for SpellScalingFlat
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl OptionFromWasmAbi for SpellScalingFlatwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for SpellScalingFlatwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for SpellScalingFlatwhere
SpellScalingFlat: Serialize,
impl OptionIntoWasmAbi for SpellScalingFlatwhere
SpellScalingFlat: Serialize,
Source§impl RefFromWasmAbi for SpellScalingFlatwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for SpellScalingFlatwhere
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<SpellScalingFlat>
type Anchor = SelfOwner<SpellScalingFlat>
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 SpellScalingFlat
impl Serialize for SpellScalingFlat
Source§impl Tsify for SpellScalingFlat
impl Tsify for SpellScalingFlat
const DECL: &'static str = "export interface SpellScalingFlat {\n level: number;\n rogue: number;\n druid: number;\n hunter: number;\n mage: number;\n paladin: number;\n priest: number;\n shaman: number;\n warlock: number;\n warrior: number;\n death_knight: number;\n monk: number;\n demon_hunter: number;\n evoker: number;\n adventurer: number;\n traveler: number;\n item: number;\n consumable: number;\n gem1: number;\n gem2: number;\n gem3: number;\n health: number;\n damage_replace_stat: number;\n damage_secondary: number;\n mana_consumable: number;\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 SpellScalingFlatwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for SpellScalingFlatwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for SpellScalingFlatwhere
SpellScalingFlat: Serialize,
impl VectorIntoWasmAbi for SpellScalingFlatwhere
SpellScalingFlat: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for SpellScalingFlat
impl WasmDescribe for SpellScalingFlat
Auto Trait Implementations§
impl Freeze for SpellScalingFlat
impl RefUnwindSafe for SpellScalingFlat
impl Send for SpellScalingFlat
impl Sync for SpellScalingFlat
impl Unpin for SpellScalingFlat
impl UnsafeUnpin for SpellScalingFlat
impl UnwindSafe for SpellScalingFlat
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.