Struct embedded_graphics::pixelcolor::Bgr888
source · pub struct Bgr888(/* private fields */);
Expand description
Bgr888 color.
Use the methods provided by the RgbColor
trait to access
individual color channels and predefined color constants.
See the module-level documentation for more information about conversion between this type and raw data.
Implementations§
Trait Implementations§
source§impl From<BinaryColor> for Bgr888
impl From<BinaryColor> for Bgr888
source§fn from(color: BinaryColor) -> Self
fn from(color: BinaryColor) -> Self
Converts to this type from the input type.
source§impl Ord for Bgr888
impl Ord for Bgr888
source§impl PartialEq for Bgr888
impl PartialEq for Bgr888
source§impl PartialOrd for Bgr888
impl PartialOrd for Bgr888
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Bgr888
impl Eq for Bgr888
impl StructuralPartialEq for Bgr888
Auto Trait Implementations§
impl RefUnwindSafe for Bgr888
impl Send for Bgr888
impl Sync for Bgr888
impl Unpin for Bgr888
impl UnwindSafe for Bgr888
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
source§impl<C> IntoStorage for C
impl<C> IntoStorage for C
§type Storage = <<C as PixelColor>::Raw as RawData>::Storage
type Storage = <<C as PixelColor>::Raw as RawData>::Storage
The underlying storage type for the pixel color
source§fn into_storage(self) -> <C as IntoStorage>::Storage
fn into_storage(self) -> <C as IntoStorage>::Storage
Convert the
PixelColor
into its raw storage form