Trait pilka_winit::winit::dpi::Pixel[][src]

pub trait Pixel: Into<f64> + Copy {
    pub fn from_f64(f: f64) -> Self;

    pub fn cast<P>(self) -> P
    where
        P: Pixel
, { ... } }

Required methods

pub fn from_f64(f: f64) -> Self[src]

Loading content...

Provided methods

pub fn cast<P>(self) -> P where
    P: Pixel
[src]

Loading content...

Implementations on Foreign Types

impl Pixel for u32[src]

impl Pixel for u16[src]

impl Pixel for f64[src]

impl Pixel for i8[src]

impl Pixel for f32[src]

impl Pixel for i32[src]

impl Pixel for i16[src]

impl Pixel for u8[src]

Loading content...

Implementors

Loading content...