#[repr(u8)]pub enum RaceId {
Show 27 variants
Human = 1,
Orc = 2,
Dwarf = 3,
NightElf = 4,
Undead = 5,
Tauren = 6,
Gnome = 7,
Troll = 8,
Goblin = 9,
BloodElf = 10,
Draenei = 11,
Worgen = 12,
PandarenA = 13,
PandarenH = 14,
Nightborne = 15,
HighmountainTauren = 16,
VoidElf = 17,
LightforgedDraenei = 18,
ZandalariTroll = 19,
KulTiran = 20,
DarkIronDwarf = 21,
Vulpera = 22,
MagharOrc = 23,
Mechagnome = 24,
Dracthyr = 25,
EarthenA = 26,
EarthenH = 27,
}Variants§
Human = 1
Orc = 2
Dwarf = 3
NightElf = 4
Undead = 5
Tauren = 6
Gnome = 7
Troll = 8
Goblin = 9
BloodElf = 10
Draenei = 11
Worgen = 12
PandarenA = 13
PandarenH = 14
Nightborne = 15
HighmountainTauren = 16
VoidElf = 17
LightforgedDraenei = 18
ZandalariTroll = 19
KulTiran = 20
DarkIronDwarf = 21
Vulpera = 22
MagharOrc = 23
Mechagnome = 24
Dracthyr = 25
EarthenA = 26
EarthenH = 27
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RaceId
impl<'de> Deserialize<'de> for RaceId
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 FromWasmAbi for RaceIdwhere
Self: DeserializeOwned,
impl FromWasmAbi for RaceIdwhere
Self: DeserializeOwned,
Source§impl IntoEnumIterator for RaceId
impl IntoEnumIterator for RaceId
type Iterator = RaceIdIter
fn iter() -> RaceIdIter ⓘ
Source§impl IntoWasmAbi for &RaceId
impl IntoWasmAbi for &RaceId
Source§impl IntoWasmAbi for RaceId
impl IntoWasmAbi for RaceId
Source§impl OptionFromWasmAbi for RaceIdwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for RaceIdwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for RaceId
impl OptionIntoWasmAbi for RaceId
Source§impl RefFromWasmAbi for RaceIdwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for RaceIdwhere
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§impl Tsify for RaceId
impl Tsify for RaceId
const DECL: &'static str = "export type RaceId = \"Human\" | \"Orc\" | \"Dwarf\" | \"NightElf\" | \"Undead\" | \"Tauren\" | \"Gnome\" | \"Troll\" | \"Goblin\" | \"BloodElf\" | \"Draenei\" | \"Worgen\" | \"PandarenA\" | \"PandarenH\" | \"Nightborne\" | \"HighmountainTauren\" | \"VoidElf\" | \"LightforgedDraenei\" | \"ZandalariTroll\" | \"KulTiran\" | \"DarkIronDwarf\" | \"Vulpera\" | \"MagharOrc\" | \"Mechagnome\" | \"Dracthyr\" | \"EarthenA\" | \"EarthenH\";"
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 RaceIdwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for RaceIdwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for RaceId
impl VectorIntoWasmAbi for RaceId
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for RaceId
impl WasmDescribeVector for RaceId
impl Copy for RaceId
impl Eq for RaceId
impl StructuralPartialEq for RaceId
Auto Trait Implementations§
impl Freeze for RaceId
impl RefUnwindSafe for RaceId
impl Send for RaceId
impl Sync for RaceId
impl Unpin for RaceId
impl UnsafeUnpin for RaceId
impl UnwindSafe for RaceId
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.§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more