pub enum OsuHitobjectType {
Empty,
HitCircle,
Slider,
Spinner,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for OsuHitobjectType
impl Clone for OsuHitobjectType
Source§fn clone(&self) -> OsuHitobjectType
fn clone(&self) -> OsuHitobjectType
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 OsuHitobjectType
Source§impl Debug for OsuHitobjectType
impl Debug for OsuHitobjectType
impl Eq for OsuHitobjectType
Source§impl From<OsuHitobjectType> for JsValue
impl From<OsuHitobjectType> for JsValue
Source§fn from(value: OsuHitobjectType) -> Self
fn from(value: OsuHitobjectType) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for OsuHitobjectType
impl FromWasmAbi for OsuHitobjectType
Source§impl IntoWasmAbi for OsuHitobjectType
impl IntoWasmAbi for OsuHitobjectType
Source§impl OptionFromWasmAbi for OsuHitobjectType
impl OptionFromWasmAbi for OsuHitobjectType
Source§impl OptionIntoWasmAbi for OsuHitobjectType
impl OptionIntoWasmAbi for OsuHitobjectType
Source§impl PartialEq for OsuHitobjectType
impl PartialEq for OsuHitobjectType
Source§fn eq(&self, other: &OsuHitobjectType) -> bool
fn eq(&self, other: &OsuHitobjectType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OsuHitobjectType
Source§impl TryFromJsValue for OsuHitobjectType
impl TryFromJsValue for OsuHitobjectType
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <OsuHitobjectType as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <OsuHitobjectType as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for OsuHitobjectType
impl VectorFromWasmAbi for OsuHitobjectType
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[OsuHitobjectType]>
Source§impl VectorIntoJsValue for OsuHitobjectType
impl VectorIntoJsValue for OsuHitobjectType
fn vector_into_jsvalue(vector: Box<[OsuHitobjectType]>) -> JsValue
Source§impl VectorIntoWasmAbi for OsuHitobjectType
impl VectorIntoWasmAbi for OsuHitobjectType
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[OsuHitobjectType]>) -> Self::Abi
Source§impl WasmDescribeVector for OsuHitobjectType
impl WasmDescribeVector for OsuHitobjectType
Auto Trait Implementations§
impl Freeze for OsuHitobjectType
impl RefUnwindSafe for OsuHitobjectType
impl Send for OsuHitobjectType
impl Sync for OsuHitobjectType
impl Unpin for OsuHitobjectType
impl UnsafeUnpin for OsuHitobjectType
impl UnwindSafe for OsuHitobjectType
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.