pub(crate) struct ToneReproductionRgbToGray<T, const BUCKET: usize> {
pub(crate) r_linear: Box<[f32; BUCKET]>,
pub(crate) g_linear: Box<[f32; BUCKET]>,
pub(crate) b_linear: Box<[f32; BUCKET]>,
pub(crate) gray_gamma: Box<[T; 65536]>,
}Fields§
§r_linear: Box<[f32; BUCKET]>§g_linear: Box<[f32; BUCKET]>§b_linear: Box<[f32; BUCKET]>§gray_gamma: Box<[T; 65536]>Trait Implementations§
Source§impl<T: Clone, const BUCKET: usize> Clone for ToneReproductionRgbToGray<T, BUCKET>
impl<T: Clone, const BUCKET: usize> Clone for ToneReproductionRgbToGray<T, BUCKET>
Source§fn clone(&self) -> ToneReproductionRgbToGray<T, BUCKET>
fn clone(&self) -> ToneReproductionRgbToGray<T, BUCKET>
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<T, const BUCKET: usize> Freeze for ToneReproductionRgbToGray<T, BUCKET>
impl<T, const BUCKET: usize> RefUnwindSafe for ToneReproductionRgbToGray<T, BUCKET>where
T: RefUnwindSafe,
impl<T, const BUCKET: usize> Send for ToneReproductionRgbToGray<T, BUCKET>where
T: Send,
impl<T, const BUCKET: usize> Sync for ToneReproductionRgbToGray<T, BUCKET>where
T: Sync,
impl<T, const BUCKET: usize> Unpin for ToneReproductionRgbToGray<T, BUCKET>
impl<T, const BUCKET: usize> UnsafeUnpin for ToneReproductionRgbToGray<T, BUCKET>
impl<T, const BUCKET: usize> UnwindSafe for ToneReproductionRgbToGray<T, BUCKET>where
T: UnwindSafe,
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