struct RgbLinearizationStage<T: Clone, const LINEAR_CAP: usize, const SAMPLES: usize> {
r_lin: Box<[f32; LINEAR_CAP]>,
g_lin: Box<[f32; LINEAR_CAP]>,
b_lin: Box<[f32; LINEAR_CAP]>,
_phantom: PhantomData<T>,
bit_depth: usize,
}Fields§
§r_lin: Box<[f32; LINEAR_CAP]>§g_lin: Box<[f32; LINEAR_CAP]>§b_lin: Box<[f32; LINEAR_CAP]>§_phantom: PhantomData<T>§bit_depth: usizeImplementations§
Auto Trait Implementations§
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> Freeze for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> RefUnwindSafe for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>where
T: RefUnwindSafe,
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> Send for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>where
T: Send,
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> Sync for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>where
T: Sync,
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> Unpin for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>where
T: Unpin,
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> UnsafeUnpin for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>
impl<T, const LINEAR_CAP: usize, const SAMPLES: usize> UnwindSafe for RgbLinearizationStage<T, LINEAR_CAP, SAMPLES>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