#[non_exhaustive]pub enum GainMapOrientation {
Bake,
Passthrough,
RequireIdentity,
}Expand description
Policy controlling how pending EXIF Orientation on a DualLayerHdrBuf /
DualLayerHdrView is handled during whole-image gain-map reconstruction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bake
Reconstruct in stored-frame coordinates (preserving exact subsampled gain-map alignment),
then physically apply dual.orientation() so the returned pixels are display-oriented
(Orientation::Identity). Default.
Passthrough
Reconstruct in stored-frame coordinates with zero pixel transpose cost, returning
the pending dual.orientation() alongside the buffer via apply_gain_map_oriented
for EXIF passthrough or GPU UV orientation.
RequireIdentity
Refuse inputs whose pending orientation is not Orientation::Identity
(ConvertError::UnsupportedRoute).
Trait Implementations§
Source§impl Clone for GainMapOrientation
impl Clone for GainMapOrientation
Source§fn clone(&self) -> GainMapOrientation
fn clone(&self) -> GainMapOrientation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GainMapOrientation
Source§impl Debug for GainMapOrientation
impl Debug for GainMapOrientation
Source§impl Default for GainMapOrientation
impl Default for GainMapOrientation
Source§fn default() -> GainMapOrientation
fn default() -> GainMapOrientation
Returns the “default value” for a type. Read more
impl Eq for GainMapOrientation
Source§impl Hash for GainMapOrientation
impl Hash for GainMapOrientation
Source§impl PartialEq for GainMapOrientation
impl PartialEq for GainMapOrientation
impl StructuralPartialEq for GainMapOrientation
Auto Trait Implementations§
impl Freeze for GainMapOrientation
impl RefUnwindSafe for GainMapOrientation
impl Send for GainMapOrientation
impl Sync for GainMapOrientation
impl Unpin for GainMapOrientation
impl UnsafeUnpin for GainMapOrientation
impl UnwindSafe for GainMapOrientation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more