Struct re_renderer::Rgba32Unmul
source · #[repr(transparent)]pub struct Rgba32Unmul(pub [u8; 4]);Expand description
RGBA color in sRGB gamma space, with separate/unmultiplied linear alpha.
This is the most common input color, e.g. speicied using CSS colors.
Tuple Fields§
§0: [u8; 4]Implementations§
Trait Implementations§
source§impl Clone for Rgba32Unmul
impl Clone for Rgba32Unmul
source§fn clone(&self) -> Rgba32Unmul
fn clone(&self) -> Rgba32Unmul
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Rgba32Unmul
impl Debug for Rgba32Unmul
source§impl Hash for Rgba32Unmul
impl Hash for Rgba32Unmul
source§impl PartialEq for Rgba32Unmul
impl PartialEq for Rgba32Unmul
source§fn eq(&self, other: &Rgba32Unmul) -> bool
fn eq(&self, other: &Rgba32Unmul) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for Rgba32Unmul
impl Eq for Rgba32Unmul
impl Pod for Rgba32Unmul
impl StructuralEq for Rgba32Unmul
impl StructuralPartialEq for Rgba32Unmul
Auto Trait Implementations§
impl RefUnwindSafe for Rgba32Unmul
impl Send for Rgba32Unmul
impl Sync for Rgba32Unmul
impl Unpin for Rgba32Unmul
impl UnwindSafe for Rgba32Unmul
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<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.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.