pub struct PixelRGB24 {
pub r: u8,
pub g: u8,
pub b: u8,
}Expand description
24-bit RGB pixel implementation
Fields§
§r: u8§g: u8§b: u8Implementations§
Trait Implementations§
Source§impl<'a> Buff<PixelRGB24> for Buffer<'a, PixelRGB24>
impl<'a> Buff<PixelRGB24> for Buffer<'a, PixelRGB24>
Source§fn clear(&mut self, p: &PixelRGB24)
fn clear(&mut self, p: &PixelRGB24)
RGB24 mode buffer clear function
Source§impl Clone for PixelRGB24
impl Clone for PixelRGB24
Source§fn clone(&self) -> PixelRGB24
fn clone(&self) -> PixelRGB24
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 moreSource§impl Debug for PixelRGB24
impl Debug for PixelRGB24
Source§impl Default for PixelRGB24
impl Default for PixelRGB24
Source§fn default() -> PixelRGB24
fn default() -> PixelRGB24
Returns the “default value” for a type. Read more
Source§impl PartialEq for PixelRGB24
impl PartialEq for PixelRGB24
Source§impl RGB for PixelRGB24
impl RGB for PixelRGB24
impl Copy for PixelRGB24
impl StructuralPartialEq for PixelRGB24
Auto Trait Implementations§
impl Freeze for PixelRGB24
impl RefUnwindSafe for PixelRGB24
impl Send for PixelRGB24
impl Sync for PixelRGB24
impl Unpin for PixelRGB24
impl UnwindSafe for PixelRGB24
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