Enum repo_icons::IconKind
source · pub enum IconKind {
AppIcon,
SiteLogo,
SiteFavicon,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for IconKindwhere
IconKind: FromStr,
<IconKind as FromStr>::Err: Display,
impl<'de> Deserialize<'de> for IconKindwhere
IconKind: FromStr,
<IconKind as FromStr>::Err: Display,
source§fn deserialize<__D>(
deserializer: __D
) -> Result<IconKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
deserializer: __D
) -> Result<IconKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for IconKind
impl Ord for IconKind
source§impl PartialEq<IconKind> for IconKind
impl PartialEq<IconKind> for IconKind
source§impl PartialOrd<IconKind> for IconKind
impl PartialOrd<IconKind> for IconKind
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 moresource§impl Serialize for IconKindwhere
IconKind: Display,
impl Serialize for IconKindwhere
IconKind: Display,
source§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 Eq for IconKind
impl StructuralEq for IconKind
impl StructuralPartialEq for IconKind
Auto Trait Implementations§
impl RefUnwindSafe for IconKind
impl Send for IconKind
impl Sync for IconKind
impl Unpin for IconKind
impl UnwindSafe for IconKind
Blanket Implementations§
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.