Struct site_icons::IconSize
source · Fields§
§width: u32
§height: u32
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for IconSize
impl<'de> Deserialize<'de> for IconSize
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 IconSize
impl Ord for IconSize
source§impl PartialEq<IconSize> for IconSize
impl PartialEq<IconSize> for IconSize
source§impl PartialOrd<IconSize> for IconSize
impl PartialOrd<IconSize> for IconSize
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 IconSize
impl Eq for IconSize
impl StructuralEq for IconSize
impl StructuralPartialEq for IconSize
Auto Trait Implementations§
impl RefUnwindSafe for IconSize
impl Send for IconSize
impl Sync for IconSize
impl Unpin for IconSize
impl UnwindSafe for IconSize
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.