Struct sensehat_screen::PixelColor [] [src]

pub struct PixelColor { /* fields omitted */ }

A single LED pixel color, with RGB565 rendering.

Methods

impl PixelColor
[src]

[src]

Create a new LED pixel color.

[src]

Create a new LED pixel color from a pair of RGB565-encoded bytes.

[src]

Encodes the current LED pixel color into a pair of RGB565-encoded bytes.

Trait Implementations

impl Debug for PixelColor
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for PixelColor
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for PixelColor
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for PixelColor

impl Sync for PixelColor