(self)
| 119 | /// Component-wise absolute value, saturating `i32::MIN` to `i32::MAX`. |
| 120 | #[inline] |
| 121 | pub fn abs(self) -> Self { |
| 122 | Self::new( |
| 123 | self.x.saturating_abs(), |
| 124 | self.y.saturating_abs(), |
| 125 | self.z.saturating_abs(), |
| 126 | ) |
| 127 | } |
| 128 | |
| 129 | /// Component-wise sign (-1, 0, or 1). |
| 130 | #[inline] |
no outgoing calls