Struct gfx::texture::PackedColor []

pub struct PackedColor(pub u32);

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

Trait Implementations

impl Into<[f32; 4]> for PackedColor

Performs the conversion.

impl Debug for PackedColor

Formats the value using the given formatter.

impl PartialOrd<PackedColor> for PackedColor

impl PartialEq<PackedColor> for PackedColor

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

This method tests for !=.

impl Hash for PackedColor

impl From<[f32; 4]> for PackedColor

Performs the conversion.

impl Eq for PackedColor

impl Copy for PackedColor

impl Clone for PackedColor

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more