Get a type with the same number of lanes as `self`, but using `lane` as the lane type.
(self, lane: Self)
| 123 | |
| 124 | /// Get a type with the same number of lanes as `self`, but using `lane` as the lane type. |
| 125 | fn replace_lanes(self, lane: Self) -> Self { |
| 126 | debug_assert!(lane.is_lane() && !self.is_special()); |
| 127 | Self((lane.0 & 0x0f) | (self.0 & 0xf0)) |
| 128 | } |
| 129 | |
| 130 | /// Get a type with the same number of lanes as this type, but with the lanes replaced by |
| 131 | /// booleans of the same size. |
no outgoing calls
no test coverage detected