Struct luminance::pixel::PixelFormat [−][src]
Expand description
A PixelFormat
gathers a Type
along with a Format
.
Fields
encoding: Type
Encoding type of the pixel format.
format: Format
Format of the pixel format.
Implementations
Does a PixelFormat
represent a color?
Does a PixelFormat
represent depth information?
Return the number of channels.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
Blanket Implementations
Mutably borrows from an owned value. Read more