Skip to main content

C2

Struct C2 

Source
pub struct C2;

Trait Implementations§

Source§

impl AverageErrorC2<C2> for u8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for i8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for u16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for i16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for u32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for i32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for f32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for f64

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for ComplexI16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for ComplexI32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageErrorC2<C2> for Complex32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for u8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for i8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for u16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for i16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for u32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for i32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for f32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for f64

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for ComplexI16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for ComplexI32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl AverageRelativeErrorC2<C2> for Complex32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl Cbycr422ToYcbcr422C2<C2> for u8

Source§

fn cbycr422_to_ycbcr422( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl ChannelLayout for C2

Source§

impl Clone for C2

Source§

fn clone(&self) -> C2

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ColorTwistC2<C2> for f32

Source§

fn color_twist( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2<C2> for f16

Source§

fn color_twist( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2<C2> for u8

Source§

fn color_twist( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2<C2> for u16

Source§

fn color_twist( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2<C2> for i8

Source§

fn color_twist( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2<C2> for i16

Source§

fn color_twist( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2InPlace<C2> for f32

Source§

fn color_twist_in_place( stream_context: &StreamContext, image: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2InPlace<C2> for f16

Source§

fn color_twist_in_place( stream_context: &StreamContext, image: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2InPlace<C2> for u8

Source§

fn color_twist_in_place( stream_context: &StreamContext, image: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2InPlace<C2> for u16

Source§

fn color_twist_in_place( stream_context: &StreamContext, image: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2InPlace<C2> for i8

Source§

fn color_twist_in_place( stream_context: &StreamContext, image: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl ColorTwistC2InPlace<C2> for i16

Source§

fn color_twist_in_place( stream_context: &StreamContext, image: &mut ImageViewMut<'_, Self, C2>, twist: ColorTwistMatrix, ) -> Result<()>

Source§

impl Copy for C2

Source§

impl CopyC2<C2> for i8

Source§

fn copy( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl CopyC2<C2> for ComplexI16

Source§

fn copy( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl CopyC2<C2> for Complex32

Source§

fn copy( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl CopyC2<C2> for ComplexI32

Source§

fn copy( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl Debug for C2

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for C2

Source§

impl ExtractChannelC2<C2> for f32

Source§

fn dispatch( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C1>, channel: usize, ) -> Result<()>

Source§

impl FilterTypedBorderC2<C2> for f32

Source§

fn filter_typed_border( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, source_offset: Point, destination: &mut ImageViewMut<'_, Self, C2>, kernel: &[Self], kernel_size: Size, anchor: Point, border_type: BorderType, ) -> Result<()>

Source§

impl FilterTypedC2<C2> for f32

Source§

fn filter_typed( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, kernel: &[Self], kernel_size: Size, anchor: Point, ) -> Result<()>

Source§

impl FusedAbsDiffChannels for C2

Source§

const CHANNELS: ImageChannels = ImageChannels::C2

Source§

impl Hash for C2

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl InsertChannelC2<C2> for f32

Source§

fn dispatch( stream_context: &StreamContext, source: &ImageView<'_, Self, C1>, destination: &mut ImageViewMut<'_, Self, C2>, channel: usize, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for u8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for i8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for u16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for i16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for u32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for i32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for f32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for f64

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for ComplexI16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for ComplexI32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumErrorC2<C2> for Complex32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for u8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for i8

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for u16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for i16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for u32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for i32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for f32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for f64

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for ComplexI16

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for ComplexI32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl MaximumRelativeErrorC2<C2> for Complex32

Source§

fn buffer_size(stream_context: &StreamContext, roi: Size) -> Result<usize>

Source§

fn dispatch( stream_context: &StreamContext, source_1: &ImageView<'_, Self, C2>, source_2: &ImageView<'_, Self, C2>, output: &mut DeviceMemory<f64>, ) -> Result<()>

Source§

impl PartialEq for C2

Source§

fn eq(&self, other: &C2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl SetC2<C2> for u8

Source§

type Value = [u8; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for i8

Source§

type Value = [i8; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for u16

Source§

type Value = [u16; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for f16

Source§

type Value = [f32; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for i16

Source§

type Value = [i16; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for i32

Source§

type Value = [i32; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for u32

Source§

type Value = [u32; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for ComplexI16

Source§

type Value = [Complex<i16>; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for Complex32

Source§

type Value = [Complex<f32>; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for ComplexI32

Source§

type Value = [Complex<i32>; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl SetC2<C2> for f32

Source§

type Value = [f32; 2]

Source§

fn dispatch( stream_context: &StreamContext, value: Self::Value, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl StructuralPartialEq for C2

Source§

impl Ycbcr422ToCbycr422C2<C2> for u8

Source§

fn ycbcr422_to_cbycr422( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Source§

impl Ycbcr422ToYcrcb422C2<C2> for u8

Source§

fn ycbcr422_to_ycrcb422( stream_context: &StreamContext, source: &ImageView<'_, Self, C2>, destination: &mut ImageViewMut<'_, Self, C2>, ) -> Result<()>

Auto Trait Implementations§

§

impl Freeze for C2

§

impl RefUnwindSafe for C2

§

impl Send for C2

§

impl Sync for C2

§

impl Unpin for C2

§

impl UnsafeUnpin for C2

§

impl UnwindSafe for C2

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.