pub fn copy_into_col_major<T>(
dst: &mut StridedViewMut<'_, T>,
src: &StridedView<'_, T>,
exec: Exec<'_>,
) -> Result<(), StridedError>Expand description
Copy elements from src to dst, optimized for col-major destination.
Delegates to the centralized permutation-copy dispatch for the actual work,
inside the budget of exec: the same explicit-token contract as
copy_into, so a large copy splits across the token’s slots instead of
always staying on the calling thread (strided-rs#212).
§Errors
The rejection set of that dispatch: StridedError::RankMismatch or
StridedError::ShapeMismatch when the views describe different
extents, StridedError::OffsetOverflow when the layout cannot be
expressed in isize stride arithmetic or a fused extent overflows, and
StridedError::NonInjectiveOutputLayout when the destination layout
cannot be proven representable and injective. Nothing is written unless
validation succeeds.