diff options
| author | Andrew Poelstra <apoelstra@wpsoftware.net> | 2014-06-30 10:53:52 -0700 |
|---|---|---|
| committer | Andrew Poelstra <apoelstra@wpsoftware.net> | 2014-07-02 12:36:02 -0700 |
| commit | 9eb81edfea77603b1cf742817dd46a8b1ec0455e (patch) | |
| tree | 28055e61bc481cf0a84dfcbb6a975ea366cb080c /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | b5c54df59fa0a99fa860db82e6e82f9c0fbd7115 (diff) | |
| download | rust-9eb81edfea77603b1cf742817dd46a8b1ec0455e.tar.gz rust-9eb81edfea77603b1cf742817dd46a8b1ec0455e.zip | |
collections::bitv: Implement several methods for `Bitv` and `BitvSet`
On Bitv:
- Add .push() and .pop() which take and return bool, respectively
- Add .truncate() which truncates a Bitv to a specific length
- Add .grow() which grows a Bitv by a specific length
- Add .reserve() which grows the underlying storage to be able to hold
a specified number of bits without resizing
- Implement FromIterator<Vec<bool>>
- Implement Extendable<bool>
- Implement Collection
- Implement Mutable
- Remove .from_bools() since FromIterator<Vec<bool>> now accomplishes this.
- Remove .assign() since Clone::clone_from() accomplishes this.
On BitvSet:
- Add .reserve() which grows the underlying storage to be able to hold
a specified number of bits without resizing
- Add .get_ref() and .get_mut_ref() to return references to the
underlying Bitv
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
