Struct iced_graphics::color::Packed
source · #[repr(C)]pub struct Packed(/* private fields */);
Expand description
A color packed as 4 floats representing RGBA channels.
Implementations§
Trait Implementations§
source§impl PartialEq for Packed
impl PartialEq for Packed
impl Copy for Packed
impl Pod for Packed
impl StructuralPartialEq for Packed
Auto Trait Implementations§
impl RefUnwindSafe for Packed
impl Send for Packed
impl Sync for Packed
impl Unpin for Packed
impl UnwindSafe for Packed
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> 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
.