struct TransformRgbToGrayExecutor<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> {
trc_box: ToneReproductionRgbToGray<T, BUCKET>,
weights: Vector3f,
bit_depth: usize,
gamma_lut: usize,
}Fields§
§trc_box: ToneReproductionRgbToGray<T, BUCKET>§weights: Vector3f§bit_depth: usize§gamma_lut: usizeTrait Implementations§
Source§impl<T: Clone, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> Clone for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>
impl<T: Clone, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> Clone for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>
Source§fn clone(&self) -> TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>
fn clone(&self) -> TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, 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 moreSource§impl<T: Copy + Default + PointeeSizeExpressible + 'static, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> TransformExecutor<T> for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>where
u32: AsPrimitive<T>,
impl<T: Copy + Default + PointeeSizeExpressible + 'static, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> TransformExecutor<T> for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>where
u32: AsPrimitive<T>,
Auto Trait Implementations§
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> Freeze for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> RefUnwindSafe for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>where
T: RefUnwindSafe,
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> Send for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>where
T: Send,
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> Sync for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>where
T: Sync,
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> Unpin for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> UnsafeUnpin for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, BUCKET>
impl<T, const SRC_LAYOUT: u8, const DST_LAYOUT: u8, const BUCKET: usize> UnwindSafe for TransformRgbToGrayExecutor<T, SRC_LAYOUT, DST_LAYOUT, 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