Struct image::codecs::hdr::Rgbe8Pixel [−][src]
Expand description
Refer to wikipedia
Fields
c: [u8; 3]Color components
e: u8Exponent
Implementations
Converts RGBE8Pixel into Rgb<T> with scale=1 and gamma=2.2
color_ldr = (color_hdr*scale)gamma
Panic
Panics when T::max_value() cannot be represented as f32.
Trait Implementations
Returns the “default value” for a type. Read more
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 Rgbe8Pixel
impl Send for Rgbe8Pixel
impl Sync for Rgbe8Pixel
impl Unpin for Rgbe8Pixel
impl UnwindSafe for Rgbe8Pixel
Blanket Implementations
Mutably borrows from an owned value. Read more