When adding bitwise operations to the array types, I didn't realize how easy it would be to use the AsMut and AsRef traits. Instead, I only implemented it for arrays of the form [uX; N]. This PR adds bitwise operations for all supported types, most notably including including Vec.
I'm not particularly familiar with semver, but if this ends up as a feature on its own, I think it could be considered a patch; the only API surface change is that these impls now work with a couple more types.
When adding bitwise operations to the array types, I didn't realize how easy it would be to use the
AsMut
andAsRef
traits. Instead, I only implemented it for arrays of the form[uX; N]
. This PR adds bitwise operations for all supported types, most notably including includingVec
.I'm not particularly familiar with semver, but if this ends up as a feature on its own, I think it could be considered a patch; the only API surface change is that these
impl
s now work with a couple more types.