pub struct RGB565Pixel(pub [u8; 2]);Expand description
Data for one pixel encoded as RGB565.
Tuple Fields§
§0: [u8; 2]Trait Implementations§
Source§impl AsByteSlice for RGB565Pixel
impl AsByteSlice for RGB565Pixel
Source§impl Clone for RGB565Pixel
impl Clone for RGB565Pixel
Source§fn clone(&self) -> RGB565Pixel
fn clone(&self) -> RGB565Pixel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RGB565Pixel
Auto Trait Implementations§
impl Freeze for RGB565Pixel
impl RefUnwindSafe for RGB565Pixel
impl Send for RGB565Pixel
impl Sync for RGB565Pixel
impl Unpin for RGB565Pixel
impl UnsafeUnpin for RGB565Pixel
impl UnwindSafe for RGB565Pixel
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