Expand description
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§
- Color
Component Map - Same as
ComponentMap
, but doesn’t change the alpha channel (if there’s any alpha). - Component
Map - Applying operation to every component