pub struct Color32 {
pub color: u32,
}Expand description
ARGB color packed into a u32.
Layout: 0xAARRGGBB (alpha in high byte, blue in low byte).
This matches the C++ Color32 union.
Fields§
§color: u32Implementations§
Trait Implementations§
impl Copy for Color32
impl Eq for Color32
impl StructuralPartialEq for Color32
Auto Trait Implementations§
impl Freeze for Color32
impl RefUnwindSafe for Color32
impl Send for Color32
impl Sync for Color32
impl Unpin for Color32
impl UnwindSafe for Color32
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