Trait Pixel
glutin::dpi
pub trait Pixel: Into<f64> + Copy { fn from_f64(f: f64) -> Self; fn cast<P>(self) -> P where P: Pixel, { ... } }
fn from_f64(f: f64) -> Self
fn cast<P>(self) -> P where P: Pixel,
impl Pixel for u16
fn from_f64(f: f64) -> u16
impl Pixel for u32
fn from_f64(f: f64) -> u32
impl Pixel for f64
fn from_f64(f: f64) -> f64
impl Pixel for u8
fn from_f64(f: f64) -> u8
impl Pixel for i16
fn from_f64(f: f64) -> i16
impl Pixel for i32
fn from_f64(f: f64) -> i32
impl Pixel for f32
fn from_f64(f: f64) -> f32
impl Pixel for i8
fn from_f64(f: f64) -> i8