pub struct CombatRatingsFlat {Show 33 fields
pub level: i32,
pub unused_0: f64,
pub defense_skill: f64,
pub dodge: f64,
pub parry: f64,
pub block: f64,
pub hit_melee: f64,
pub hit_ranged: f64,
pub hit_spell: f64,
pub crit_melee: f64,
pub crit_ranged: f64,
pub crit_spell: f64,
pub corruption: f64,
pub corruption_resistance: f64,
pub speed: f64,
pub resilience_crit_taken: f64,
pub resilience_player_damage: f64,
pub lifesteal: f64,
pub haste_melee: f64,
pub haste_ranged: f64,
pub haste_spell: f64,
pub avoidance: f64,
pub sturdiness: f64,
pub unused_7: f64,
pub expertise: f64,
pub armor_penetration: f64,
pub mastery: f64,
pub pvp_power: f64,
pub unused_27: f64,
pub versatility_damage_done: f64,
pub versatility_healing_done: f64,
pub versatility_damage_taken: f64,
pub unused_12: f64,
}Fields§
§level: i32§unused_0: f64§defense_skill: f64§dodge: f64§parry: f64§block: f64§hit_melee: f64§hit_ranged: f64§hit_spell: f64§crit_melee: f64§crit_ranged: f64§crit_spell: f64§corruption: f64§corruption_resistance: f64§speed: f64§resilience_crit_taken: f64§resilience_player_damage: f64§lifesteal: f64§haste_melee: f64§haste_ranged: f64§haste_spell: f64§avoidance: f64§sturdiness: f64§unused_7: f64§expertise: f64§armor_penetration: f64§mastery: f64§pvp_power: f64§unused_27: f64§versatility_damage_done: f64§versatility_healing_done: f64§versatility_damage_taken: f64§unused_12: f64Trait Implementations§
Source§impl Clone for CombatRatingsFlat
impl Clone for CombatRatingsFlat
Source§fn clone(&self) -> CombatRatingsFlat
fn clone(&self) -> CombatRatingsFlat
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 CombatRatingsFlat
impl CopyInsert for CombatRatingsFlat
Source§impl Debug for CombatRatingsFlat
impl Debug for CombatRatingsFlat
Source§impl Default for CombatRatingsFlat
impl Default for CombatRatingsFlat
Source§fn default() -> CombatRatingsFlat
fn default() -> CombatRatingsFlat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CombatRatingsFlat
impl<'de> Deserialize<'de> for CombatRatingsFlat
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<CombatRatingsFlat> for JsValuewhere
CombatRatingsFlat: Serialize,
impl From<CombatRatingsFlat> for JsValuewhere
CombatRatingsFlat: Serialize,
Source§fn from(value: CombatRatingsFlat) -> Self
fn from(value: CombatRatingsFlat) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CombatRatingsFlatwhere
Self: DeserializeOwned,
impl FromWasmAbi for CombatRatingsFlatwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
impl IntoWasmAbi for &CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
Source§impl IntoWasmAbi for CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
impl IntoWasmAbi for CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
Source§impl JsonSchema for CombatRatingsFlat
impl JsonSchema for CombatRatingsFlat
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 CombatRatingsFlatwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for CombatRatingsFlatwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
impl OptionIntoWasmAbi for CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
Source§impl RefFromWasmAbi for CombatRatingsFlatwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for CombatRatingsFlatwhere
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<CombatRatingsFlat>
type Anchor = SelfOwner<CombatRatingsFlat>
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 CombatRatingsFlat
impl Serialize for CombatRatingsFlat
Source§impl Tsify for CombatRatingsFlat
impl Tsify for CombatRatingsFlat
const DECL: &'static str = "export interface CombatRatingsFlat {\n level: number;\n unused_0: number;\n defense_skill: number;\n dodge: number;\n parry: number;\n block: number;\n hit_melee: number;\n hit_ranged: number;\n hit_spell: number;\n crit_melee: number;\n crit_ranged: number;\n crit_spell: number;\n corruption: number;\n corruption_resistance: number;\n speed: number;\n resilience_crit_taken: number;\n resilience_player_damage: number;\n lifesteal: number;\n haste_melee: number;\n haste_ranged: number;\n haste_spell: number;\n avoidance: number;\n sturdiness: number;\n unused_7: number;\n expertise: number;\n armor_penetration: number;\n mastery: number;\n pvp_power: number;\n unused_27: number;\n versatility_damage_done: number;\n versatility_healing_done: number;\n versatility_damage_taken: number;\n unused_12: 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 CombatRatingsFlatwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for CombatRatingsFlatwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
impl VectorIntoWasmAbi for CombatRatingsFlatwhere
CombatRatingsFlat: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for CombatRatingsFlat
impl WasmDescribe for CombatRatingsFlat
Auto Trait Implementations§
impl Freeze for CombatRatingsFlat
impl RefUnwindSafe for CombatRatingsFlat
impl Send for CombatRatingsFlat
impl Sync for CombatRatingsFlat
impl Unpin for CombatRatingsFlat
impl UnsafeUnpin for CombatRatingsFlat
impl UnwindSafe for CombatRatingsFlat
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.