pub struct ResolvedPaperdollStats {
pub attack_power: f64,
pub spell_power: f64,
pub primary_stat: f64,
pub intellect: f64,
pub crit: f64,
pub haste: f64,
pub mastery: f64,
pub versatility: f64,
}Fields§
§attack_power: f64§spell_power: f64§primary_stat: f64Source for $pri.
intellect: f64§crit: f64§haste: f64§mastery: f64§versatility: f64Trait Implementations§
Source§impl Clone for ResolvedPaperdollStats
impl Clone for ResolvedPaperdollStats
Source§fn clone(&self) -> ResolvedPaperdollStats
fn clone(&self) -> ResolvedPaperdollStats
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 ResolvedPaperdollStats
impl Debug for ResolvedPaperdollStats
Source§impl Default for ResolvedPaperdollStats
impl Default for ResolvedPaperdollStats
Source§fn default() -> ResolvedPaperdollStats
fn default() -> ResolvedPaperdollStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResolvedPaperdollStats
impl<'de> Deserialize<'de> for ResolvedPaperdollStats
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<ResolvedPaperdollStats> for JsValuewhere
ResolvedPaperdollStats: Serialize,
impl From<ResolvedPaperdollStats> for JsValuewhere
ResolvedPaperdollStats: Serialize,
Source§fn from(value: ResolvedPaperdollStats) -> Self
fn from(value: ResolvedPaperdollStats) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ResolvedPaperdollStatswhere
Self: DeserializeOwned,
impl FromWasmAbi for ResolvedPaperdollStatswhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &ResolvedPaperdollStatswhere
ResolvedPaperdollStats: Serialize,
impl IntoWasmAbi for &ResolvedPaperdollStatswhere
ResolvedPaperdollStats: Serialize,
Source§impl IntoWasmAbi for ResolvedPaperdollStatswhere
ResolvedPaperdollStats: Serialize,
impl IntoWasmAbi for ResolvedPaperdollStatswhere
ResolvedPaperdollStats: Serialize,
Source§impl OptionFromWasmAbi for ResolvedPaperdollStatswhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for ResolvedPaperdollStatswhere
Self: DeserializeOwned,
Source§impl RefFromWasmAbi for ResolvedPaperdollStatswhere
Self: DeserializeOwned,
impl RefFromWasmAbi for ResolvedPaperdollStatswhere
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<ResolvedPaperdollStats>
type Anchor = SelfOwner<ResolvedPaperdollStats>
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 ResolvedPaperdollStats
impl Serialize for ResolvedPaperdollStats
Source§impl Tsify for ResolvedPaperdollStats
impl Tsify for ResolvedPaperdollStats
const DECL: &'static str = "export interface ResolvedPaperdollStats {\n attack_power: number;\n spell_power: number;\n /**\n * Source for `$pri`.\n */\n primary_stat: number;\n intellect: number;\n crit: number;\n haste: number;\n mastery: number;\n versatility: 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 ResolvedPaperdollStatswhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for ResolvedPaperdollStatswhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for ResolvedPaperdollStatswhere
ResolvedPaperdollStats: Serialize,
impl VectorIntoWasmAbi for ResolvedPaperdollStatswhere
ResolvedPaperdollStats: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Auto Trait Implementations§
impl Freeze for ResolvedPaperdollStats
impl RefUnwindSafe for ResolvedPaperdollStats
impl Send for ResolvedPaperdollStats
impl Sync for ResolvedPaperdollStats
impl Unpin for ResolvedPaperdollStats
impl UnsafeUnpin for ResolvedPaperdollStats
impl UnwindSafe for ResolvedPaperdollStats
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.