We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is related to #13, but I think it can be implemented before IndexGet by adding
IndexGet
impl BitVec { fn slice<'a, R: RangeArgument>(&self, offset: usize, len: usize) -> BitVecView<'a> { ... } }
Thoughts?
The text was updated successfully, but these errors were encountered:
RangeArgument is still unstable afaik, so it would have to be behind the nightly flag.
Otherwise it seems fine; I'd call it BitSlice.
Sorry, something went wrong.
The mutable view &mut BitSlice could help with issue #43
&mut BitSlice
The problem is, we do not have stable CoerceUnsized, Unsize or any solid DSTs story in Rust as of today so that we cannot yet implement this cleanly.
I would prefer to implement this as &'a BitSlice and &'a mut BitSlice
&'a BitSlice
&'a mut BitSlice
BitVec
Similar to #29
No branches or pull requests
This is related to #13, but I think it can be implemented before
IndexGet
by addingThoughts?
The text was updated successfully, but these errors were encountered: