Describe BitPositions and TwoBitPositions.

This commit is contained in:
Jonas Hietala 2014-07-20 15:15:48 +02:00 committed by Alex Crichton
parent e68333a689
commit 2957644e08

View File

@ -1450,11 +1450,13 @@ fn remove(&mut self, value: &uint) -> bool {
}
}
/// An iterator for `BitvSet`.
pub struct BitPositions<'a> {
set: &'a BitvSet,
next_idx: uint
}
/// An iterator combining wo `BitvSet` iterators.
pub struct TwoBitPositions<'a> {
set: &'a BitvSet,
other: &'a BitvSet,