Struct embedded_graphics::pixelcolor::PixelColorU32[][src]

pub struct PixelColorU32(pub u32);

Pixel wrapper around u32 type

Methods

impl PixelColorU32
[src]

Get the inner value of the pixel

use pixelcolor::PixelColorU32;

let color = PixelColoru32(100u32); assert_eq!(color.into_inner(), 100u32);

Trait Implementations

impl Copy for PixelColorU32
[src]

impl Clone for PixelColorU32
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for PixelColorU32
[src]

impl PartialEq for PixelColorU32
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for PixelColorU32
[src]

Formats the value using the given formatter. Read more

impl From<u8> for PixelColorU32
[src]

Performs the conversion.

impl From<u32> for PixelColorU32
[src]

Performs the conversion.

impl PixelColor for PixelColorU32
[src]

Auto Trait Implementations