Slices have a copy_within method similar to C's memmove. It could be nice to have this on ChannelMut. For LinearChannel, it's already easy enough to call .as_mut() to get a slice and use slice::copy_within on that. For InterleavedChannel, it would be trickier to implement.
Slices have a copy_within method similar to C's
memmove
. It could be nice to have this on ChannelMut. For LinearChannel, it's already easy enough to call.as_mut()
to get a slice and useslice::copy_within
on that. For InterleavedChannel, it would be trickier to implement.