pub struct Rgb565;Expand description
5,6,5-bit channels in R,G,B order.
Trait Implementations§
Source§impl IntoPixel<[u8; 2], Rgb565> for Color3
impl IntoPixel<[u8; 2], Rgb565> for Color3
Source§fn into_pixel(self) -> [u8; 2]
fn into_pixel(self) -> [u8; 2]
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; 2], Rgb565> for Color4
impl IntoPixel<[u8; 2], Rgb565> for Color4
Source§fn into_pixel(self) -> [u8; 2]
fn into_pixel(self) -> [u8; 2]
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<u16, Rgb565> for Color3
impl IntoPixel<u16, Rgb565> for Color3
Source§fn into_pixel(self) -> u16
fn into_pixel(self) -> u16
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<u16, Rgb565> for Color4
impl IntoPixel<u16, Rgb565> for Color4
Source§fn into_pixel(self) -> u16
fn into_pixel(self) -> u16
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 Rgb565
Auto Trait Implementations§
impl Freeze for Rgb565
impl RefUnwindSafe for Rgb565
impl Send for Rgb565
impl Sync for Rgb565
impl Unpin for Rgb565
impl UnwindSafe for Rgb565
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