pub struct Rgba(/* private fields */);Expand description
A 32-bit RGBA value.
Implementations§
Trait Implementations§
Source§impl From<Rgba> for NcRgba_u32
impl From<Rgba> for NcRgba_u32
Source§fn from(rgba: Rgba) -> NcRgba_u32
fn from(rgba: Rgba) -> NcRgba_u32
Converts to this type from the input type.
Source§impl From<u32> for Rgba
impl From<u32> for Rgba
Source§fn from(ncu: NcRgba_u32) -> Rgba
fn from(ncu: NcRgba_u32) -> Rgba
Converts to this type from the input type.
impl Copy for Rgba
impl Eq for Rgba
impl StructuralPartialEq for Rgba
Auto Trait Implementations§
impl Freeze for Rgba
impl RefUnwindSafe for Rgba
impl Send for Rgba
impl Sync for Rgba
impl Unpin for Rgba
impl UnwindSafe for Rgba
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