pub trait Pixel: 'static + RegisteredPrimitive + Into<u32> + Into<i32> + Debug + Display + Send + Sync {
    type Coeff: Coefficient;

    fn type_enum() -> PixelType;

    fn to_asm_stride(in_stride: usize) -> isize { ... }
}
Expand description

A type that can be used as a pixel type.

Required Associated Types§

Required Methods§

Returns a PixelType variant corresponding to this type.

Provided Methods§

Converts stride in pixels to stride in bytes.

Implementations on Foreign Types§

Implementors§