Expand description
This module provides useful traits that were deprecated in rust
Modulesยง
- private ๐Prevents down-stream users from implementing the
Primitive
trait - seals ๐Private module for supertraits of sealed traits.
Macrosยง
- declare_primitive ๐
Traitsยง
- Types which are safe to treat as an immutable byte slice in a pixel layout for image encoding.
- An Enlargable::Larger value should be enough to calculate the sum (average) of a few hundred or thousand Enlargeable values.
- Linear interpolation without involving floating numbers.
- A generalized pixel.
- The pixel with an associated
ColorType
. Not all possible pixels represent one of the predefinedColorType
s. - The type of each channel in a pixel. For example, this can be
u8
,u16
,f32
.