Enum RasterHistogram256Error

Failure category for histogram256.

enum RasterHistogram256Error : ubyte { ... }

The error enum defaults to none; RasterHistogram256Result.init is deliberately unsuccessful.

Enum members

NameDescription

Example

Example inspecting the histogram error categories.

import raster;

assert(RasterHistogram256Error.init == RasterHistogram256Error.none);
assert(RasterHistogram256Error.countOverflow != RasterHistogram256Error.none);