Skip to main content

copy_conj_into_uninit

Function copy_conj_into_uninit 

Source
pub fn copy_conj_into_uninit<T: ElementOpApply + Send + Sync + 'static>(
    dest: &mut StridedViewMut<'_, MaybeUninit<T>>,
    src: &StridedView<'_, T>,
    exec: Exec<'_>,
) -> Result<()>
Expand description

Conjugating copy into an uninitialized destination: dest[i] = conj(src[i]).

The allocation-free sibling of copy_conj_into, selected on T for the same reason as copy_into_uninit: the engine’s dispatch keys off the source element type, and the destination is only ever written.

§Errors

Same rejection set as copy_conj_into. Nothing is written unless validation succeeds.