Struct esp_idf_sys::color_pixel_rgb888_data_t
source · #[repr(C)]pub struct color_pixel_rgb888_data_t {
pub b: u8,
pub g: u8,
pub r: u8,
}
Expand description
@brief Data structure for RGB888 pixel unit
Fields§
§b: u8
< B component [0, 255]
g: u8
< G component [0, 255]
r: u8
< R component [0, 255]
Trait Implementations§
source§impl Clone for color_pixel_rgb888_data_t
impl Clone for color_pixel_rgb888_data_t
source§fn clone(&self) -> color_pixel_rgb888_data_t
fn clone(&self) -> color_pixel_rgb888_data_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for color_pixel_rgb888_data_t
impl Debug for color_pixel_rgb888_data_t
source§impl Default for color_pixel_rgb888_data_t
impl Default for color_pixel_rgb888_data_t
source§fn default() -> color_pixel_rgb888_data_t
fn default() -> color_pixel_rgb888_data_t
Returns the “default value” for a type. Read more
impl Copy for color_pixel_rgb888_data_t
Auto Trait Implementations§
impl Freeze for color_pixel_rgb888_data_t
impl RefUnwindSafe for color_pixel_rgb888_data_t
impl Send for color_pixel_rgb888_data_t
impl Sync for color_pixel_rgb888_data_t
impl Unpin for color_pixel_rgb888_data_t
impl UnwindSafe for color_pixel_rgb888_data_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)