Struct gfx::texture::PackedColor [] [src]

pub struct PackedColor(pub u32);

A wrapper for the 8bpp RGBA color, encoded as u32.

Trait Implementations

impl Copy for PackedColor
[src]

impl Clone for PackedColor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Into<[f32; 4]> for PackedColor
[src]

[src]

Performs the conversion.

impl PartialOrd<PackedColor> for PackedColor
[src]

[src]

[src]

[src]

[src]

[src]

impl Hash for PackedColor
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<[f32; 4]> for PackedColor
[src]

[src]

Performs the conversion.

impl PartialEq<PackedColor> for PackedColor
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for PackedColor
[src]

[src]

Formats the value using the given formatter.

impl Eq for PackedColor
[src]