Enum site_icons::IconKind
source · pub enum IconKind {
AppIcon,
SiteFavicon,
SiteLogo,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for IconKindwhere
Self: FromStr,
<Self as FromStr>::Err: Display,
impl<'de> Deserialize<'de> for IconKindwhere
Self: FromStr,
<Self as FromStr>::Err: Display,
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 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 moreimpl 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.