#[non_exhaustive]pub struct ToneMapping {
pub intensity_target: f32,
pub min_nits: f32,
pub relative_to_max_display: bool,
pub linear_below: f32,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.intensity_target: f32§min_nits: f32§relative_to_max_display: bool§linear_below: f32Trait Implementations§
Source§impl Clone for ToneMapping
impl Clone for ToneMapping
Source§fn clone(&self) -> ToneMapping
fn clone(&self) -> ToneMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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