pub struct Rgb888;Expand description
Eight-bit channels in R,G,B order.
Trait Implementations§
Source§impl IntoPixel<[u8; 3], Rgb888> for Color3
impl IntoPixel<[u8; 3], Rgb888> for Color3
Source§fn into_pixel(self) -> [u8; 3]
fn into_pixel(self) -> [u8; 3]
Converts
self to T in format F.Source§fn into_pixel_fmt(self, _: F) -> T
fn into_pixel_fmt(self, _: F) -> T
Source§impl IntoPixel<[u8; 3], Rgb888> for Color4
impl IntoPixel<[u8; 3], Rgb888> for Color4
Source§fn into_pixel(self) -> [u8; 3]
fn into_pixel(self) -> [u8; 3]
Converts
self to T in format F.Source§fn into_pixel_fmt(self, _: F) -> T
fn into_pixel_fmt(self, _: F) -> T
Source§impl IntoPixel<u32, Rgb888> for Color3
impl IntoPixel<u32, Rgb888> for Color3
Source§fn into_pixel(self) -> u32
fn into_pixel(self) -> u32
Converts
self to T in format F.Source§fn into_pixel_fmt(self, _: F) -> T
fn into_pixel_fmt(self, _: F) -> T
impl Copy for Rgb888
Auto Trait Implementations§
impl Freeze for Rgb888
impl RefUnwindSafe for Rgb888
impl Send for Rgb888
impl Sync for Rgb888
impl Unpin for Rgb888
impl UnwindSafe for Rgb888
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