pub struct HdrToneMap {
pub source_peak_nits: u32,
}Expand description
How an HDR source is tone-mapped: from source_peak_nits to SDR white.
Fields§
§source_peak_nits: u32The brightest luminance the source is taken to reach. PQ sources above it are clipped to it; HLG sources are displayed at it (their nominal peak).
Trait Implementations§
Source§impl Clone for HdrToneMap
impl Clone for HdrToneMap
impl Copy for HdrToneMap
Source§impl Debug for HdrToneMap
impl Debug for HdrToneMap
Source§impl Default for HdrToneMap
impl Default for HdrToneMap
impl Eq for HdrToneMap
Source§impl PartialEq for HdrToneMap
impl PartialEq for HdrToneMap
impl StructuralPartialEq for HdrToneMap
Auto Trait Implementations§
impl Freeze for HdrToneMap
impl RefUnwindSafe for HdrToneMap
impl Send for HdrToneMap
impl Sync for HdrToneMap
impl Unpin for HdrToneMap
impl UnsafeUnpin for HdrToneMap
impl UnwindSafe for HdrToneMap
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.