Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add copy_within method on ChannelMut? #29

Open
Be-ing opened this issue Dec 12, 2022 · 0 comments
Open

Add copy_within method on ChannelMut? #29

Be-ing opened this issue Dec 12, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Be-ing
Copy link
Contributor

Be-ing commented Dec 12, 2022

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.

@udoprog udoprog added the enhancement New feature or request label Dec 12, 2022
@udoprog udoprog changed the title copy_within method on ChannelMut? Add copy_within method on ChannelMut? Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants