pub struct RgbaSpec {
pub r: u8,
pub g: u8,
pub b: u8,
pub a: u8,
}Fields§
§r: u8§g: u8§b: u8§a: u8Implementations§
Trait Implementations§
Source§impl From<PackedRgba> for RgbaSpec
impl From<PackedRgba> for RgbaSpec
Source§fn from(color: PackedRgba) -> Self
fn from(color: PackedRgba) -> Self
Converts to this type from the input type.
Source§impl From<RgbaSpec> for PackedRgba
impl From<RgbaSpec> for PackedRgba
impl Copy for RgbaSpec
impl Eq for RgbaSpec
impl StructuralPartialEq for RgbaSpec
Auto Trait Implementations§
impl Freeze for RgbaSpec
impl RefUnwindSafe for RgbaSpec
impl Send for RgbaSpec
impl Sync for RgbaSpec
impl Unpin for RgbaSpec
impl UnsafeUnpin for RgbaSpec
impl UnwindSafe for RgbaSpec
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