Trait Pixel
trait Pixel: RegisteredPrimitive + Into<u32> + Into<i32> + Debug + Display + Send + Sync + 'static
A type that can be used as a pixel type.
Associated Types
type Coeff: TraitBound { trait_: Path { path: "Coefficient", id: Id(180), args: None }, generic_params: [], modifier: None }
Required Methods
fn type_enum() -> PixelTypeReturns a
PixelTypevariant corresponding to this type.
Provided Methods
fn to_asm_stride(in_stride: usize) -> isizeConverts stride in pixels to stride in bytes.
Implementors
impl Pixel for u8impl Pixel for u16