struct TransformGrayToRgbExecutor<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> {
gray_linear: Box<[f32; 65536]>,
red_gamma: Box<[T; 65536]>,
green_gamma: Box<[T; 65536]>,
blue_gamma: Box<[T; 65536]>,
bit_depth: usize,
gamma_lut: usize,
}Fields§
§gray_linear: Box<[f32; 65536]>§red_gamma: Box<[T; 65536]>§green_gamma: Box<[T; 65536]>§blue_gamma: Box<[T; 65536]>§bit_depth: usize§gamma_lut: usizeTrait Implementations§
Source§impl<T: Clone, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> Clone for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
impl<T: Clone, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> Clone for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
Source§fn clone(&self) -> TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
fn clone(&self) -> TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
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> TransformExecutor<T> for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DST_LAYOUT>where
u32: AsPrimitive<T>,
impl<T: Copy + Default + PointeeSizeExpressible + 'static, const SRC_LAYOUT: u8, const DST_LAYOUT: u8> TransformExecutor<T> for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DST_LAYOUT>where
u32: AsPrimitive<T>,
Auto Trait Implementations§
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> Freeze for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> RefUnwindSafe for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>where
T: RefUnwindSafe,
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> Send for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>where
T: Send,
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> Sync for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>where
T: Sync,
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> Unpin for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> UnsafeUnpin for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>
impl<T, const SRC_LAYOUT: u8, const DEST_LAYOUT: u8> UnwindSafe for TransformGrayToRgbExecutor<T, SRC_LAYOUT, DEST_LAYOUT>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