[][src]Module cichlid::prelude

Easy importing of integer and color auto traits.

Re-exports

pub use crate::math::ScalingInt;
pub use crate::math::Trig;

Traits

ColorIterMut

Useful methods when iterating over ColorRGBs.

ColorSliceMut

Optimized methods for iterating over arrays and slices of ColorRGBs.

GradientFill

Fills an iterable object with a gradient from the HSV values start to finish, exclusive of the finish.

GradientFillRGB

Fills an iterable object with a gradient from the ColorRGB values start to finish, exclusive of the finish.

GradientFillRGBToInclusive

Fills an iterable object with a gradient from the ColorRGB values start to finish, inclusive of the finish.

GradientFillToInclusive

Fills an iterable object with a gradient from the HSV values start to finish, inclusive of the finish.

RainbowFill

Fills an iterable object with a rainbow hue of a desired step size.

RainbowFillSingleCycle

Fills an iterable object with a single complete rainbow.