pub struct NormalizedColorKey {
pub red: u8,
pub green: u8,
pub blue: u8,
pub alpha: u8,
}Fields§
§red: u8§green: u8§blue: u8§alpha: u8Trait Implementations§
Source§impl Clone for NormalizedColorKey
impl Clone for NormalizedColorKey
Source§fn clone(&self) -> NormalizedColorKey
fn clone(&self) -> NormalizedColorKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NormalizedColorKey
Source§impl Debug for NormalizedColorKey
impl Debug for NormalizedColorKey
Source§impl<'de> Deserialize<'de> for NormalizedColorKey
impl<'de> Deserialize<'de> for NormalizedColorKey
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
impl Eq for NormalizedColorKey
Source§impl Hash for NormalizedColorKey
impl Hash for NormalizedColorKey
Source§impl PartialEq for NormalizedColorKey
impl PartialEq for NormalizedColorKey
Source§fn eq(&self, other: &NormalizedColorKey) -> bool
fn eq(&self, other: &NormalizedColorKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NormalizedColorKey
impl Serialize for NormalizedColorKey
impl StructuralPartialEq for NormalizedColorKey
Auto Trait Implementations§
impl Freeze for NormalizedColorKey
impl RefUnwindSafe for NormalizedColorKey
impl Send for NormalizedColorKey
impl Sync for NormalizedColorKey
impl Unpin for NormalizedColorKey
impl UnsafeUnpin for NormalizedColorKey
impl UnwindSafe for NormalizedColorKey
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