Struct gfx_core::tex::PackedColor
[−]
[src]
pub struct PackedColor(pub u32);
A wrapper for the 8bpp RGBA color, encoded as u32.
pub struct PackedColor(pub u32);
A wrapper for the 8bpp RGBA color, encoded as u32.
impl From<[f32; 4]> for PackedColor
fn from(c: [f32; 4]) -> PackedColor
impl Into<[f32; 4]> for PackedColor
impl PartialOrd for PackedColor
fn partial_cmp(&self, __arg_0: &PackedColor) -> Option<Ordering>
fn lt(&self, __arg_0: &PackedColor) -> bool
fn le(&self, __arg_0: &PackedColor) -> bool
fn gt(&self, __arg_0: &PackedColor) -> bool
fn ge(&self, __arg_0: &PackedColor) -> bool
impl PartialEq for PackedColor
fn eq(&self, __arg_0: &PackedColor) -> bool
fn ne(&self, __arg_0: &PackedColor) -> bool
impl Hash for PackedColor
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Eq for PackedColor
impl Debug for PackedColor
impl Copy for PackedColor
impl Clone for PackedColor
fn clone(&self) -> PackedColor
fn clone_from(&mut self, source: &Self)