Enum AuraOn
pub enum AuraOn {
Player,
Target,
Pet,
}Variants§
Trait Implementations§
§impl<'de> Deserialize<'de> for AuraOn
impl<'de> Deserialize<'de> for AuraOn
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuraOn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuraOn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl FromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
impl FromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
§impl IntoWasmAbi for &AuraOn
impl IntoWasmAbi for &AuraOn
§type Abi = <JsType as IntoWasmAbi>::Abi
type Abi = <JsType as IntoWasmAbi>::Abi
The Wasm ABI type that this converts into when crossing the ABI
boundary.
§fn into_abi(self) -> <&AuraOn as IntoWasmAbi>::Abi
fn into_abi(self) -> <&AuraOn as IntoWasmAbi>::Abi
Convert
self into Self::Abi so that it can be sent across the wasm
ABI boundary.§impl IntoWasmAbi for AuraOn
impl IntoWasmAbi for AuraOn
§type Abi = <JsType as IntoWasmAbi>::Abi
type Abi = <JsType as IntoWasmAbi>::Abi
The Wasm ABI type that this converts into when crossing the ABI
boundary.
§fn into_abi(self) -> <AuraOn as IntoWasmAbi>::Abi
fn into_abi(self) -> <AuraOn as IntoWasmAbi>::Abi
Convert
self into Self::Abi so that it can be sent across the wasm
ABI boundary.§impl JsonSchema for AuraOn
impl JsonSchema for AuraOn
§fn schema_name() -> Cow<'static, str>
fn schema_name() -> Cow<'static, str>
The name of the generated JSON Schema. Read more
§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
§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§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 more§impl OptionFromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
impl OptionFromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
§impl OptionIntoWasmAbi for AuraOn
impl OptionIntoWasmAbi for AuraOn
§impl RefFromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
impl RefFromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.§type Anchor = SelfOwner<AuraOn>
type Anchor = SelfOwner<AuraOn>
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.§unsafe fn ref_from_abi(
js: <AuraOn as RefFromWasmAbi>::Abi,
) -> <AuraOn as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <AuraOn as RefFromWasmAbi>::Abi, ) -> <AuraOn as RefFromWasmAbi>::Anchor
§impl Serialize for AuraOn
impl Serialize for AuraOn
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl Tsify for AuraOn
impl Tsify for AuraOn
§impl VectorFromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
impl VectorFromWasmAbi for AuraOnwhere
AuraOn: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <AuraOn as VectorFromWasmAbi>::Abi, ) -> Box<[AuraOn]>
§impl VectorIntoWasmAbi for AuraOn
impl VectorIntoWasmAbi for AuraOn
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AuraOn]>) -> <AuraOn as VectorIntoWasmAbi>::Abi
impl Copy for AuraOn
impl Eq for AuraOn
impl StructuralPartialEq for AuraOn
Auto Trait Implementations§
impl Freeze for AuraOn
impl RefUnwindSafe for AuraOn
impl Send for AuraOn
impl Sync for AuraOn
impl Unpin for AuraOn
impl UnsafeUnpin for AuraOn
impl UnwindSafe for AuraOn
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
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> SpecRuntime for T
impl<T> SpecRuntime for T
§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