#[repr(u8)]pub enum ShopItem {
DarkMode = 1,
GayButton = 2,
DoubleSpeed = 3,
FiftyFifty = 4,
Thanos = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShopItem
impl<'de> Deserialize<'de> for ShopItem
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<'__v> FromFormValue<'__v> for ShopItem
impl<'__v> FromFormValue<'__v> for ShopItem
Source§type Error = &'__v RawStr
type Error = &'__v RawStr
The associated error which can be returned from parsing. It is a good
idea to have the return type be or contain an
&'v str so that the
unparseable string can be examined after a bad parse.impl Copy for ShopItem
impl Eq for ShopItem
impl StructuralPartialEq for ShopItem
Auto Trait Implementations§
impl Freeze for ShopItem
impl RefUnwindSafe for ShopItem
impl Send for ShopItem
impl Sync for ShopItem
impl Unpin for ShopItem
impl UnwindSafe for ShopItem
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.