pub struct GrayscalePalA8R8G8B8;
Expand description

A grayscale ZX Spectrum Palette implementation to be used with PixelBufP32.

Trait Implementations§

Specifies the type used for pixels.
Should return one of ULAplus colors.
Should return a grayscale pixel with the intensity of one of the ZX Spectrum colors: [0, 15]. Read more
Should return a grayscale pixel (0 - black, 255 - full intensity white).
Should return one of ZX Spectrum pixel colors: Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.