pub enum HitSoundType {
Normal,
Clap,
Whistle,
Finish,
}Variants§
Trait Implementations§
Source§impl Clone for HitSoundType
impl Clone for HitSoundType
Source§fn clone(&self) -> HitSoundType
fn clone(&self) -> HitSoundType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HitSoundType
Source§impl Debug for HitSoundType
impl Debug for HitSoundType
impl Eq for HitSoundType
Source§impl From<HitSoundType> for JsValue
impl From<HitSoundType> for JsValue
Source§fn from(value: HitSoundType) -> Self
fn from(value: HitSoundType) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for HitSoundType
impl FromWasmAbi for HitSoundType
Source§impl IntoWasmAbi for HitSoundType
impl IntoWasmAbi for HitSoundType
Source§impl OptionFromWasmAbi for HitSoundType
impl OptionFromWasmAbi for HitSoundType
Source§impl OptionIntoWasmAbi for HitSoundType
impl OptionIntoWasmAbi for HitSoundType
Source§impl PartialEq for HitSoundType
impl PartialEq for HitSoundType
Source§fn eq(&self, other: &HitSoundType) -> bool
fn eq(&self, other: &HitSoundType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HitSoundType
Source§impl TryFromJsValue for HitSoundType
impl TryFromJsValue for HitSoundType
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <HitSoundType as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <HitSoundType as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for HitSoundType
impl VectorFromWasmAbi for HitSoundType
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[HitSoundType]>
Source§impl VectorIntoJsValue for HitSoundType
impl VectorIntoJsValue for HitSoundType
fn vector_into_jsvalue(vector: Box<[HitSoundType]>) -> JsValue
Source§impl VectorIntoWasmAbi for HitSoundType
impl VectorIntoWasmAbi for HitSoundType
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[HitSoundType]>) -> Self::Abi
Source§impl WasmDescribeVector for HitSoundType
impl WasmDescribeVector for HitSoundType
Auto Trait Implementations§
impl Freeze for HitSoundType
impl RefUnwindSafe for HitSoundType
impl Send for HitSoundType
impl Sync for HitSoundType
impl Unpin for HitSoundType
impl UnsafeUnpin for HitSoundType
impl UnwindSafe for HitSoundType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.