#[non_exhaustive]pub enum ToneMapping {
Auto,
Bt2390,
Bt2446a,
Spline,
Reinhard,
Mobius,
Hable,
Clip,
St2094_40,
St2094_10,
Gamma,
Linear,
}Expand description
HDR -> SDR tone curve.
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.
Auto
Bt2390
ITU-R BT.2390 EETF (the prototype’s choice for iPhone HLG/Dolby Vision).
Bt2446a
Spline
Reinhard
Mobius
Hable
Clip
St2094_40
SMPTE ST 2094-40 (HDR10+) curve, from dynamic metadata when the source has it.
St2094_10
SMPTE ST 2094-10 (Dolby Vision) curve.
Gamma
Linear
Implementations§
Trait Implementations§
Source§impl Clone for ToneMapping
impl Clone for ToneMapping
impl Copy for ToneMapping
Source§impl Debug for ToneMapping
impl Debug for ToneMapping
Source§impl Display for ToneMapping
impl Display for ToneMapping
impl Eq for ToneMapping
Source§impl FromStr for ToneMapping
impl FromStr for ToneMapping
Source§impl Hash for ToneMapping
impl Hash for ToneMapping
Source§impl PartialEq for ToneMapping
impl PartialEq for ToneMapping
impl StructuralPartialEq for ToneMapping
Auto Trait Implementations§
impl Forget for ToneMapping
impl Freeze for ToneMapping
impl RefUnwindSafe for ToneMapping
impl Send for ToneMapping
impl Sync for ToneMapping
impl Unpin for ToneMapping
impl UnsafeUnpin for ToneMapping
impl UnwindSafe for ToneMapping
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.