Return a TypeSet describing the image of self across doublevector.
(&self)
| 473 | |
| 474 | /// Return a TypeSet describing the image of self across doublevector. |
| 475 | fn double_vector(&self) -> TypeSet { |
| 476 | let mut copy = self.clone(); |
| 477 | copy.lanes = NumSet::from_iter( |
| 478 | self.lanes |
| 479 | .iter() |
| 480 | .filter(|&&x| x < MAX_LANES) |
| 481 | .map(|&x| x * 2), |
| 482 | ); |
| 483 | copy |
| 484 | } |
| 485 | |
| 486 | fn dynamic_to_vector(&self) -> TypeSet { |
| 487 | let mut copy = self.clone(); |