Module prelude
Use as use rgb::prelude::*
The prelude will contain commonly used traits, and will be expanded in the future.
Using a glob import is recommended for forward compatibility with the next major version of the crate.
Traits
-
ColorComponentMap
Same as
ComponentMap, but doesn't change the alpha channel (if there's any alpha). - ComponentMap Applying operation to every component