pub struct ResolvedPaperdoll {
pub spec_id: u32,
pub spec_order_index: u8,
pub class_id: u32,
pub level: u32,
pub is_male: bool,
pub max_health: f64,
pub role_mult: f64,
pub stats: ResolvedPaperdollStats,
pub weapon: WeaponDamage,
pub known_spell_ids: Vec<u32>,
pub active_aura_ids: Vec<u32>,
}Fields§
§spec_id: u32§spec_order_index: u8ChrSpecialization.OrderIndex; $?cN conditionals name this plus one.
class_id: u32§level: u32§is_male: bool§max_health: f64§role_mult: f64§stats: ResolvedPaperdollStats§weapon: WeaponDamage§known_spell_ids: Vec<u32>§active_aura_ids: Vec<u32>Trait Implementations§
Source§impl Clone for ResolvedPaperdoll
impl Clone for ResolvedPaperdoll
Source§fn clone(&self) -> ResolvedPaperdoll
fn clone(&self) -> ResolvedPaperdoll
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 ResolvedPaperdoll
impl Debug for ResolvedPaperdoll
Source§impl Default for ResolvedPaperdoll
impl Default for ResolvedPaperdoll
Source§fn default() -> ResolvedPaperdoll
fn default() -> ResolvedPaperdoll
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResolvedPaperdoll
impl<'de> Deserialize<'de> for ResolvedPaperdoll
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<ResolvedPaperdoll> for JsValuewhere
ResolvedPaperdoll: Serialize,
impl From<ResolvedPaperdoll> for JsValuewhere
ResolvedPaperdoll: Serialize,
Source§fn from(value: ResolvedPaperdoll) -> Self
fn from(value: ResolvedPaperdoll) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ResolvedPaperdollwhere
Self: DeserializeOwned,
impl FromWasmAbi for ResolvedPaperdollwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
impl IntoWasmAbi for &ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
Source§impl IntoWasmAbi for ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
impl IntoWasmAbi for ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
Source§impl OptionFromWasmAbi for ResolvedPaperdollwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for ResolvedPaperdollwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
impl OptionIntoWasmAbi for ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
Source§impl RefFromWasmAbi for ResolvedPaperdollwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for ResolvedPaperdollwhere
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<ResolvedPaperdoll>
type Anchor = SelfOwner<ResolvedPaperdoll>
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 ResolvedPaperdoll
impl Serialize for ResolvedPaperdoll
Source§impl Tsify for ResolvedPaperdoll
impl Tsify for ResolvedPaperdoll
const DECL: &'static str = "export interface ResolvedPaperdoll {\n spec_id: number;\n /**\n * `ChrSpecialization.OrderIndex`; `$?cN` conditionals name this plus one.\n */\n spec_order_index: number;\n class_id: number;\n level: number;\n is_male: boolean;\n max_health: number;\n role_mult: number;\n stats: ResolvedPaperdollStats;\n weapon: WeaponDamage;\n known_spell_ids: number[];\n active_aura_ids: 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 ResolvedPaperdollwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for ResolvedPaperdollwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
impl VectorIntoWasmAbi for ResolvedPaperdollwhere
ResolvedPaperdoll: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for ResolvedPaperdoll
impl WasmDescribe for ResolvedPaperdoll
Auto Trait Implementations§
impl Freeze for ResolvedPaperdoll
impl RefUnwindSafe for ResolvedPaperdoll
impl Send for ResolvedPaperdoll
impl Sync for ResolvedPaperdoll
impl Unpin for ResolvedPaperdoll
impl UnsafeUnpin for ResolvedPaperdoll
impl UnwindSafe for ResolvedPaperdoll
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.