[][src]Trait jpegxl_rs::PixelType

pub trait PixelType: Clone + Default + 'static {
    pub fn pixel_type() -> JxlDataType;
}

Pixel data type. Currently u8, u16, u32 and f32 are supported.

Required methods

pub fn pixel_type() -> JxlDataType[src]

Return the c const

Loading content...

Implementations on Foreign Types

impl PixelType for u8[src]

impl PixelType for u16[src]

impl PixelType for u32[src]

impl PixelType for f32[src]

Loading content...

Implementors

Loading content...