Struct pxl::Pixel [−][src]
An RGBA pixel. Components should normally be between
0.0
and 1.0
inclusive.
Fields
red: f32
The red component
green: f32
The green component
blue: f32
The blue component
alpha: f32
The alpha component. Currently ignored, but in the
future, pixels rendered with an alpha value of less
than 1.0 may be transparent, exposing the desktop or
window behind the pxl
window.
Trait Implementations
impl Copy for Pixel
[src]
impl Copy for Pixel
impl Clone for Pixel
[src]
impl Clone for Pixel
fn clone(&self) -> Pixel
[src]
fn clone(&self) -> Pixel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Pixel
[src]
impl Debug for Pixel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Pixel
[src]
impl PartialEq for Pixel