Closed sunjay closed 5 years ago
This PR does three things to Buffer2d:
Buffer2d
clear()
AsMut<[T]>
Thanks for such an excellent library! I'm using it for a project and I'm glad to be able to contribute back to it. :)
Thanks for the PR, very happy to merge this!
This PR does three things to
Buffer2d
:clear()
to not re-allocate the data buffer (modifies in-place instead)AsMut<[T]>
forBuffer2d
so that it can be used with rayonThanks for such an excellent library! I'm using it for a project and I'm glad to be able to contribute back to it. :)