#[non_exhaustive]pub enum Category {
Show 44 variants
Baka,
Bite,
Blush,
Bored,
Cry,
Cuddle,
Dance,
Facepalm,
Feed,
Handhold,
Handshake,
Happy,
Highfive,
Hug,
Husbando,
Kick,
Kiss,
Kitsune,
Laugh,
Lurk,
Neko,
Nod,
Nom,
Nope,
Pat,
Peck,
Poke,
Pout,
Punch,
Shoot,
Shrug,
Slap,
Sleep,
Smile,
Smug,
Stare,
Think,
ThumbsUp,
Tickle,
Waifu,
Wave,
Wink,
Yawn,
Yeet,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Baka
Bite
Blush
Bored
Cry
Cuddle
Dance
Facepalm
Feed
Handhold
Handshake
Happy
Highfive
Hug
Husbando
Kick
Kiss
Kitsune
Laugh
Lurk
Neko
Nod
Nom
Nope
Pat
Peck
Poke
Pout
Punch
Shoot
Shrug
Slap
Sleep
Smile
Smug
Stare
Think
ThumbsUp
Tickle
Waifu
Wave
Wink
Yawn
Yeet
Implementations§
source§impl Category
impl Category
pub const fn to_url_name(self) -> &'static str
pub fn from_url_name(name: &str) -> Option<Self>
pub const ALL_VARIANTS: &[Category] = _
Trait Implementations§
source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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 Ord for Category
impl Ord for Category
source§impl PartialEq<Category> for Category
impl PartialEq<Category> for Category
source§impl PartialOrd<Category> for Category
impl PartialOrd<Category> for Category
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Category
impl Eq for Category
impl StructuralEq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.