Lines Matching refs:rhs
203 pub fn dot(self, rhs: Self) -> i32 { in dot()
204 (self.x * rhs.x) + (self.y * rhs.y) + (self.z * rhs.z) + (self.w * rhs.w) in dot()
210 pub fn dot_into_vec(self, rhs: Self) -> Self { in dot_into_vec()
211 Self::splat(self.dot(rhs)) in dot_into_vec()
219 pub fn min(self, rhs: Self) -> Self { in min()
221 x: self.x.min(rhs.x), in min()
222 y: self.y.min(rhs.y), in min()
223 z: self.z.min(rhs.z), in min()
224 w: self.w.min(rhs.w), in min()
233 pub fn max(self, rhs: Self) -> Self { in max()
235 x: self.x.max(rhs.x), in max()
236 y: self.y.max(rhs.y), in max()
237 z: self.z.max(rhs.z), in max()
238 w: self.w.max(rhs.w), in max()
299 pub fn cmpeq(self, rhs: Self) -> BVec4 { in cmpeq()
301 self.x.eq(&rhs.x), in cmpeq()
302 self.y.eq(&rhs.y), in cmpeq()
303 self.z.eq(&rhs.z), in cmpeq()
304 self.w.eq(&rhs.w), in cmpeq()
315 pub fn cmpne(self, rhs: Self) -> BVec4 { in cmpne()
317 self.x.ne(&rhs.x), in cmpne()
318 self.y.ne(&rhs.y), in cmpne()
319 self.z.ne(&rhs.z), in cmpne()
320 self.w.ne(&rhs.w), in cmpne()
331 pub fn cmpge(self, rhs: Self) -> BVec4 { in cmpge()
333 self.x.ge(&rhs.x), in cmpge()
334 self.y.ge(&rhs.y), in cmpge()
335 self.z.ge(&rhs.z), in cmpge()
336 self.w.ge(&rhs.w), in cmpge()
347 pub fn cmpgt(self, rhs: Self) -> BVec4 { in cmpgt()
349 self.x.gt(&rhs.x), in cmpgt()
350 self.y.gt(&rhs.y), in cmpgt()
351 self.z.gt(&rhs.z), in cmpgt()
352 self.w.gt(&rhs.w), in cmpgt()
363 pub fn cmple(self, rhs: Self) -> BVec4 { in cmple()
365 self.x.le(&rhs.x), in cmple()
366 self.y.le(&rhs.y), in cmple()
367 self.z.le(&rhs.z), in cmple()
368 self.w.le(&rhs.w), in cmple()
379 pub fn cmplt(self, rhs: Self) -> BVec4 { in cmplt()
381 self.x.lt(&rhs.x), in cmplt()
382 self.y.lt(&rhs.y), in cmplt()
383 self.z.lt(&rhs.z), in cmplt()
384 self.w.lt(&rhs.w), in cmplt()
440 pub fn distance_squared(self, rhs: Self) -> i32 { in distance_squared()
441 (self - rhs).length_squared() in distance_squared()
450 pub fn div_euclid(self, rhs: Self) -> Self { in div_euclid()
452 self.x.div_euclid(rhs.x), in div_euclid()
453 self.y.div_euclid(rhs.y), in div_euclid()
454 self.z.div_euclid(rhs.z), in div_euclid()
455 self.w.div_euclid(rhs.w), in div_euclid()
467 pub fn rem_euclid(self, rhs: Self) -> Self { in rem_euclid()
469 self.x.rem_euclid(rhs.x), in rem_euclid()
470 self.y.rem_euclid(rhs.y), in rem_euclid()
471 self.z.rem_euclid(rhs.z), in rem_euclid()
472 self.w.rem_euclid(rhs.w), in rem_euclid()
593 pub const fn checked_add(self, rhs: Self) -> Option<Self> { in checked_add()
594 let x = match self.x.checked_add(rhs.x) { in checked_add()
598 let y = match self.y.checked_add(rhs.y) { in checked_add()
602 let z = match self.z.checked_add(rhs.z) { in checked_add()
606 let w = match self.w.checked_add(rhs.w) { in checked_add()
619 pub const fn checked_sub(self, rhs: Self) -> Option<Self> { in checked_sub()
620 let x = match self.x.checked_sub(rhs.x) { in checked_sub()
624 let y = match self.y.checked_sub(rhs.y) { in checked_sub()
628 let z = match self.z.checked_sub(rhs.z) { in checked_sub()
632 let w = match self.w.checked_sub(rhs.w) { in checked_sub()
645 pub const fn checked_mul(self, rhs: Self) -> Option<Self> { in checked_mul()
646 let x = match self.x.checked_mul(rhs.x) { in checked_mul()
650 let y = match self.y.checked_mul(rhs.y) { in checked_mul()
654 let z = match self.z.checked_mul(rhs.z) { in checked_mul()
658 let w = match self.w.checked_mul(rhs.w) { in checked_mul()
671 pub const fn checked_div(self, rhs: Self) -> Option<Self> { in checked_div()
672 let x = match self.x.checked_div(rhs.x) { in checked_div()
676 let y = match self.y.checked_div(rhs.y) { in checked_div()
680 let z = match self.z.checked_div(rhs.z) { in checked_div()
684 let w = match self.w.checked_div(rhs.w) { in checked_div()
697 pub const fn wrapping_add(self, rhs: Self) -> Self { in wrapping_add()
699 x: self.x.wrapping_add(rhs.x), in wrapping_add()
700 y: self.y.wrapping_add(rhs.y), in wrapping_add()
701 z: self.z.wrapping_add(rhs.z), in wrapping_add()
702 w: self.w.wrapping_add(rhs.w), in wrapping_add()
711 pub const fn wrapping_sub(self, rhs: Self) -> Self { in wrapping_sub()
713 x: self.x.wrapping_sub(rhs.x), in wrapping_sub()
714 y: self.y.wrapping_sub(rhs.y), in wrapping_sub()
715 z: self.z.wrapping_sub(rhs.z), in wrapping_sub()
716 w: self.w.wrapping_sub(rhs.w), in wrapping_sub()
725 pub const fn wrapping_mul(self, rhs: Self) -> Self { in wrapping_mul()
727 x: self.x.wrapping_mul(rhs.x), in wrapping_mul()
728 y: self.y.wrapping_mul(rhs.y), in wrapping_mul()
729 z: self.z.wrapping_mul(rhs.z), in wrapping_mul()
730 w: self.w.wrapping_mul(rhs.w), in wrapping_mul()
739 pub const fn wrapping_div(self, rhs: Self) -> Self { in wrapping_div()
741 x: self.x.wrapping_div(rhs.x), in wrapping_div()
742 y: self.y.wrapping_div(rhs.y), in wrapping_div()
743 z: self.z.wrapping_div(rhs.z), in wrapping_div()
744 w: self.w.wrapping_div(rhs.w), in wrapping_div()
753 pub const fn saturating_add(self, rhs: Self) -> Self { in saturating_add()
755 x: self.x.saturating_add(rhs.x), in saturating_add()
756 y: self.y.saturating_add(rhs.y), in saturating_add()
757 z: self.z.saturating_add(rhs.z), in saturating_add()
758 w: self.w.saturating_add(rhs.w), in saturating_add()
767 pub const fn saturating_sub(self, rhs: Self) -> Self { in saturating_sub()
769 x: self.x.saturating_sub(rhs.x), in saturating_sub()
770 y: self.y.saturating_sub(rhs.y), in saturating_sub()
771 z: self.z.saturating_sub(rhs.z), in saturating_sub()
772 w: self.w.saturating_sub(rhs.w), in saturating_sub()
781 pub const fn saturating_mul(self, rhs: Self) -> Self { in saturating_mul()
783 x: self.x.saturating_mul(rhs.x), in saturating_mul()
784 y: self.y.saturating_mul(rhs.y), in saturating_mul()
785 z: self.z.saturating_mul(rhs.z), in saturating_mul()
786 w: self.w.saturating_mul(rhs.w), in saturating_mul()
795 pub const fn saturating_div(self, rhs: Self) -> Self { in saturating_div()
797 x: self.x.saturating_div(rhs.x), in saturating_div()
798 y: self.y.saturating_div(rhs.y), in saturating_div()
799 z: self.z.saturating_div(rhs.z), in saturating_div()
800 w: self.w.saturating_div(rhs.w), in saturating_div()
809 pub const fn checked_add_unsigned(self, rhs: UVec4) -> Option<Self> { in checked_add_unsigned()
810 let x = match self.x.checked_add_unsigned(rhs.x) { in checked_add_unsigned()
814 let y = match self.y.checked_add_unsigned(rhs.y) { in checked_add_unsigned()
818 let z = match self.z.checked_add_unsigned(rhs.z) { in checked_add_unsigned()
822 let w = match self.w.checked_add_unsigned(rhs.w) { in checked_add_unsigned()
835 pub const fn checked_sub_unsigned(self, rhs: UVec4) -> Option<Self> { in checked_sub_unsigned()
836 let x = match self.x.checked_sub_unsigned(rhs.x) { in checked_sub_unsigned()
840 let y = match self.y.checked_sub_unsigned(rhs.y) { in checked_sub_unsigned()
844 let z = match self.z.checked_sub_unsigned(rhs.z) { in checked_sub_unsigned()
848 let w = match self.w.checked_sub_unsigned(rhs.w) { in checked_sub_unsigned()
861 pub const fn wrapping_add_unsigned(self, rhs: UVec4) -> Self { in wrapping_add_unsigned()
863 x: self.x.wrapping_add_unsigned(rhs.x), in wrapping_add_unsigned()
864 y: self.y.wrapping_add_unsigned(rhs.y), in wrapping_add_unsigned()
865 z: self.z.wrapping_add_unsigned(rhs.z), in wrapping_add_unsigned()
866 w: self.w.wrapping_add_unsigned(rhs.w), in wrapping_add_unsigned()
875 pub const fn wrapping_sub_unsigned(self, rhs: UVec4) -> Self { in wrapping_sub_unsigned()
877 x: self.x.wrapping_sub_unsigned(rhs.x), in wrapping_sub_unsigned()
878 y: self.y.wrapping_sub_unsigned(rhs.y), in wrapping_sub_unsigned()
879 z: self.z.wrapping_sub_unsigned(rhs.z), in wrapping_sub_unsigned()
880 w: self.w.wrapping_sub_unsigned(rhs.w), in wrapping_sub_unsigned()
889 pub const fn saturating_add_unsigned(self, rhs: UVec4) -> Self { in saturating_add_unsigned()
891 x: self.x.saturating_add_unsigned(rhs.x), in saturating_add_unsigned()
892 y: self.y.saturating_add_unsigned(rhs.y), in saturating_add_unsigned()
893 z: self.z.saturating_add_unsigned(rhs.z), in saturating_add_unsigned()
894 w: self.w.saturating_add_unsigned(rhs.w), in saturating_add_unsigned()
903 pub const fn saturating_sub_unsigned(self, rhs: UVec4) -> Self { in saturating_sub_unsigned()
905 x: self.x.saturating_sub_unsigned(rhs.x), in saturating_sub_unsigned()
906 y: self.y.saturating_sub_unsigned(rhs.y), in saturating_sub_unsigned()
907 z: self.z.saturating_sub_unsigned(rhs.z), in saturating_sub_unsigned()
908 w: self.w.saturating_sub_unsigned(rhs.w), in saturating_sub_unsigned()
923 fn div(self, rhs: Self) -> Self { in div()
925 x: self.x.div(rhs.x), in div()
926 y: self.y.div(rhs.y), in div()
927 z: self.z.div(rhs.z), in div()
928 w: self.w.div(rhs.w), in div()
936 fn div(self, rhs: &IVec4) -> IVec4 { in div()
937 self.div(*rhs) in div()
944 fn div(self, rhs: &IVec4) -> IVec4 { in div()
945 (*self).div(*rhs) in div()
952 fn div(self, rhs: IVec4) -> IVec4 { in div()
953 (*self).div(rhs) in div()
959 fn div_assign(&mut self, rhs: Self) { in div_assign()
960 self.x.div_assign(rhs.x); in div_assign()
961 self.y.div_assign(rhs.y); in div_assign()
962 self.z.div_assign(rhs.z); in div_assign()
963 self.w.div_assign(rhs.w); in div_assign()
969 fn div_assign(&mut self, rhs: &IVec4) { in div_assign()
970 self.div_assign(*rhs) in div_assign()
977 fn div(self, rhs: i32) -> Self { in div()
979 x: self.x.div(rhs), in div()
980 y: self.y.div(rhs), in div()
981 z: self.z.div(rhs), in div()
982 w: self.w.div(rhs), in div()
990 fn div(self, rhs: &i32) -> IVec4 { in div()
991 self.div(*rhs) in div()
998 fn div(self, rhs: &i32) -> IVec4 { in div()
999 (*self).div(*rhs) in div()
1006 fn div(self, rhs: i32) -> IVec4 { in div()
1007 (*self).div(rhs) in div()
1013 fn div_assign(&mut self, rhs: i32) { in div_assign()
1014 self.x.div_assign(rhs); in div_assign()
1015 self.y.div_assign(rhs); in div_assign()
1016 self.z.div_assign(rhs); in div_assign()
1017 self.w.div_assign(rhs); in div_assign()
1023 fn div_assign(&mut self, rhs: &i32) { in div_assign()
1024 self.div_assign(*rhs) in div_assign()
1031 fn div(self, rhs: IVec4) -> IVec4 { in div()
1033 x: self.div(rhs.x), in div()
1034 y: self.div(rhs.y), in div()
1035 z: self.div(rhs.z), in div()
1036 w: self.div(rhs.w), in div()
1044 fn div(self, rhs: &IVec4) -> IVec4 { in div()
1045 self.div(*rhs) in div()
1052 fn div(self, rhs: &IVec4) -> IVec4 { in div()
1053 (*self).div(*rhs) in div()
1060 fn div(self, rhs: IVec4) -> IVec4 { in div()
1061 (*self).div(rhs) in div()
1068 fn mul(self, rhs: Self) -> Self { in mul()
1070 x: self.x.mul(rhs.x), in mul()
1071 y: self.y.mul(rhs.y), in mul()
1072 z: self.z.mul(rhs.z), in mul()
1073 w: self.w.mul(rhs.w), in mul()
1081 fn mul(self, rhs: &IVec4) -> IVec4 { in mul()
1082 self.mul(*rhs) in mul()
1089 fn mul(self, rhs: &IVec4) -> IVec4 { in mul()
1090 (*self).mul(*rhs) in mul()
1097 fn mul(self, rhs: IVec4) -> IVec4 { in mul()
1098 (*self).mul(rhs) in mul()
1104 fn mul_assign(&mut self, rhs: Self) { in mul_assign()
1105 self.x.mul_assign(rhs.x); in mul_assign()
1106 self.y.mul_assign(rhs.y); in mul_assign()
1107 self.z.mul_assign(rhs.z); in mul_assign()
1108 self.w.mul_assign(rhs.w); in mul_assign()
1114 fn mul_assign(&mut self, rhs: &IVec4) { in mul_assign()
1115 self.mul_assign(*rhs) in mul_assign()
1122 fn mul(self, rhs: i32) -> Self { in mul()
1124 x: self.x.mul(rhs), in mul()
1125 y: self.y.mul(rhs), in mul()
1126 z: self.z.mul(rhs), in mul()
1127 w: self.w.mul(rhs), in mul()
1135 fn mul(self, rhs: &i32) -> IVec4 { in mul()
1136 self.mul(*rhs) in mul()
1143 fn mul(self, rhs: &i32) -> IVec4 { in mul()
1144 (*self).mul(*rhs) in mul()
1151 fn mul(self, rhs: i32) -> IVec4 { in mul()
1152 (*self).mul(rhs) in mul()
1158 fn mul_assign(&mut self, rhs: i32) { in mul_assign()
1159 self.x.mul_assign(rhs); in mul_assign()
1160 self.y.mul_assign(rhs); in mul_assign()
1161 self.z.mul_assign(rhs); in mul_assign()
1162 self.w.mul_assign(rhs); in mul_assign()
1168 fn mul_assign(&mut self, rhs: &i32) { in mul_assign()
1169 self.mul_assign(*rhs) in mul_assign()
1176 fn mul(self, rhs: IVec4) -> IVec4 { in mul()
1178 x: self.mul(rhs.x), in mul()
1179 y: self.mul(rhs.y), in mul()
1180 z: self.mul(rhs.z), in mul()
1181 w: self.mul(rhs.w), in mul()
1189 fn mul(self, rhs: &IVec4) -> IVec4 { in mul()
1190 self.mul(*rhs) in mul()
1197 fn mul(self, rhs: &IVec4) -> IVec4 { in mul()
1198 (*self).mul(*rhs) in mul()
1205 fn mul(self, rhs: IVec4) -> IVec4 { in mul()
1206 (*self).mul(rhs) in mul()
1213 fn add(self, rhs: Self) -> Self { in add()
1215 x: self.x.add(rhs.x), in add()
1216 y: self.y.add(rhs.y), in add()
1217 z: self.z.add(rhs.z), in add()
1218 w: self.w.add(rhs.w), in add()
1226 fn add(self, rhs: &IVec4) -> IVec4 { in add()
1227 self.add(*rhs) in add()
1234 fn add(self, rhs: &IVec4) -> IVec4 { in add()
1235 (*self).add(*rhs) in add()
1242 fn add(self, rhs: IVec4) -> IVec4 { in add()
1243 (*self).add(rhs) in add()
1249 fn add_assign(&mut self, rhs: Self) { in add_assign()
1250 self.x.add_assign(rhs.x); in add_assign()
1251 self.y.add_assign(rhs.y); in add_assign()
1252 self.z.add_assign(rhs.z); in add_assign()
1253 self.w.add_assign(rhs.w); in add_assign()
1259 fn add_assign(&mut self, rhs: &IVec4) { in add_assign()
1260 self.add_assign(*rhs) in add_assign()
1267 fn add(self, rhs: i32) -> Self { in add()
1269 x: self.x.add(rhs), in add()
1270 y: self.y.add(rhs), in add()
1271 z: self.z.add(rhs), in add()
1272 w: self.w.add(rhs), in add()
1280 fn add(self, rhs: &i32) -> IVec4 { in add()
1281 self.add(*rhs) in add()
1288 fn add(self, rhs: &i32) -> IVec4 { in add()
1289 (*self).add(*rhs) in add()
1296 fn add(self, rhs: i32) -> IVec4 { in add()
1297 (*self).add(rhs) in add()
1303 fn add_assign(&mut self, rhs: i32) { in add_assign()
1304 self.x.add_assign(rhs); in add_assign()
1305 self.y.add_assign(rhs); in add_assign()
1306 self.z.add_assign(rhs); in add_assign()
1307 self.w.add_assign(rhs); in add_assign()
1313 fn add_assign(&mut self, rhs: &i32) { in add_assign()
1314 self.add_assign(*rhs) in add_assign()
1321 fn add(self, rhs: IVec4) -> IVec4 { in add()
1323 x: self.add(rhs.x), in add()
1324 y: self.add(rhs.y), in add()
1325 z: self.add(rhs.z), in add()
1326 w: self.add(rhs.w), in add()
1334 fn add(self, rhs: &IVec4) -> IVec4 { in add()
1335 self.add(*rhs) in add()
1342 fn add(self, rhs: &IVec4) -> IVec4 { in add()
1343 (*self).add(*rhs) in add()
1350 fn add(self, rhs: IVec4) -> IVec4 { in add()
1351 (*self).add(rhs) in add()
1358 fn sub(self, rhs: Self) -> Self { in sub()
1360 x: self.x.sub(rhs.x), in sub()
1361 y: self.y.sub(rhs.y), in sub()
1362 z: self.z.sub(rhs.z), in sub()
1363 w: self.w.sub(rhs.w), in sub()
1371 fn sub(self, rhs: &IVec4) -> IVec4 { in sub()
1372 self.sub(*rhs) in sub()
1379 fn sub(self, rhs: &IVec4) -> IVec4 { in sub()
1380 (*self).sub(*rhs) in sub()
1387 fn sub(self, rhs: IVec4) -> IVec4 { in sub()
1388 (*self).sub(rhs) in sub()
1394 fn sub_assign(&mut self, rhs: IVec4) { in sub_assign()
1395 self.x.sub_assign(rhs.x); in sub_assign()
1396 self.y.sub_assign(rhs.y); in sub_assign()
1397 self.z.sub_assign(rhs.z); in sub_assign()
1398 self.w.sub_assign(rhs.w); in sub_assign()
1404 fn sub_assign(&mut self, rhs: &IVec4) { in sub_assign()
1405 self.sub_assign(*rhs) in sub_assign()
1412 fn sub(self, rhs: i32) -> Self { in sub()
1414 x: self.x.sub(rhs), in sub()
1415 y: self.y.sub(rhs), in sub()
1416 z: self.z.sub(rhs), in sub()
1417 w: self.w.sub(rhs), in sub()
1425 fn sub(self, rhs: &i32) -> IVec4 { in sub()
1426 self.sub(*rhs) in sub()
1433 fn sub(self, rhs: &i32) -> IVec4 { in sub()
1434 (*self).sub(*rhs) in sub()
1441 fn sub(self, rhs: i32) -> IVec4 { in sub()
1442 (*self).sub(rhs) in sub()
1448 fn sub_assign(&mut self, rhs: i32) { in sub_assign()
1449 self.x.sub_assign(rhs); in sub_assign()
1450 self.y.sub_assign(rhs); in sub_assign()
1451 self.z.sub_assign(rhs); in sub_assign()
1452 self.w.sub_assign(rhs); in sub_assign()
1458 fn sub_assign(&mut self, rhs: &i32) { in sub_assign()
1459 self.sub_assign(*rhs) in sub_assign()
1466 fn sub(self, rhs: IVec4) -> IVec4 { in sub()
1468 x: self.sub(rhs.x), in sub()
1469 y: self.sub(rhs.y), in sub()
1470 z: self.sub(rhs.z), in sub()
1471 w: self.sub(rhs.w), in sub()
1479 fn sub(self, rhs: &IVec4) -> IVec4 { in sub()
1480 self.sub(*rhs) in sub()
1487 fn sub(self, rhs: &IVec4) -> IVec4 { in sub()
1488 (*self).sub(*rhs) in sub()
1495 fn sub(self, rhs: IVec4) -> IVec4 { in sub()
1496 (*self).sub(rhs) in sub()
1503 fn rem(self, rhs: Self) -> Self { in rem()
1505 x: self.x.rem(rhs.x), in rem()
1506 y: self.y.rem(rhs.y), in rem()
1507 z: self.z.rem(rhs.z), in rem()
1508 w: self.w.rem(rhs.w), in rem()
1516 fn rem(self, rhs: &IVec4) -> IVec4 { in rem()
1517 self.rem(*rhs) in rem()
1524 fn rem(self, rhs: &IVec4) -> IVec4 { in rem()
1525 (*self).rem(*rhs) in rem()
1532 fn rem(self, rhs: IVec4) -> IVec4 { in rem()
1533 (*self).rem(rhs) in rem()
1539 fn rem_assign(&mut self, rhs: Self) { in rem_assign()
1540 self.x.rem_assign(rhs.x); in rem_assign()
1541 self.y.rem_assign(rhs.y); in rem_assign()
1542 self.z.rem_assign(rhs.z); in rem_assign()
1543 self.w.rem_assign(rhs.w); in rem_assign()
1549 fn rem_assign(&mut self, rhs: &IVec4) { in rem_assign()
1550 self.rem_assign(*rhs) in rem_assign()
1557 fn rem(self, rhs: i32) -> Self { in rem()
1559 x: self.x.rem(rhs), in rem()
1560 y: self.y.rem(rhs), in rem()
1561 z: self.z.rem(rhs), in rem()
1562 w: self.w.rem(rhs), in rem()
1570 fn rem(self, rhs: &i32) -> IVec4 { in rem()
1571 self.rem(*rhs) in rem()
1578 fn rem(self, rhs: &i32) -> IVec4 { in rem()
1579 (*self).rem(*rhs) in rem()
1586 fn rem(self, rhs: i32) -> IVec4 { in rem()
1587 (*self).rem(rhs) in rem()
1593 fn rem_assign(&mut self, rhs: i32) { in rem_assign()
1594 self.x.rem_assign(rhs); in rem_assign()
1595 self.y.rem_assign(rhs); in rem_assign()
1596 self.z.rem_assign(rhs); in rem_assign()
1597 self.w.rem_assign(rhs); in rem_assign()
1603 fn rem_assign(&mut self, rhs: &i32) { in rem_assign()
1604 self.rem_assign(*rhs) in rem_assign()
1611 fn rem(self, rhs: IVec4) -> IVec4 { in rem()
1613 x: self.rem(rhs.x), in rem()
1614 y: self.rem(rhs.y), in rem()
1615 z: self.rem(rhs.z), in rem()
1616 w: self.rem(rhs.w), in rem()
1624 fn rem(self, rhs: &IVec4) -> IVec4 { in rem()
1625 self.rem(*rhs) in rem()
1632 fn rem(self, rhs: &IVec4) -> IVec4 { in rem()
1633 (*self).rem(*rhs) in rem()
1640 fn rem(self, rhs: IVec4) -> IVec4 { in rem()
1641 (*self).rem(rhs) in rem()
1738 fn bitand(self, rhs: Self) -> Self::Output { in bitand()
1740 x: self.x.bitand(rhs.x), in bitand()
1741 y: self.y.bitand(rhs.y), in bitand()
1742 z: self.z.bitand(rhs.z), in bitand()
1743 w: self.w.bitand(rhs.w), in bitand()
1751 fn bitor(self, rhs: Self) -> Self::Output { in bitor()
1753 x: self.x.bitor(rhs.x), in bitor()
1754 y: self.y.bitor(rhs.y), in bitor()
1755 z: self.z.bitor(rhs.z), in bitor()
1756 w: self.w.bitor(rhs.w), in bitor()
1764 fn bitxor(self, rhs: Self) -> Self::Output { in bitxor()
1766 x: self.x.bitxor(rhs.x), in bitxor()
1767 y: self.y.bitxor(rhs.y), in bitxor()
1768 z: self.z.bitxor(rhs.z), in bitxor()
1769 w: self.w.bitxor(rhs.w), in bitxor()
1777 fn bitand(self, rhs: i32) -> Self::Output { in bitand()
1779 x: self.x.bitand(rhs), in bitand()
1780 y: self.y.bitand(rhs), in bitand()
1781 z: self.z.bitand(rhs), in bitand()
1782 w: self.w.bitand(rhs), in bitand()
1790 fn bitor(self, rhs: i32) -> Self::Output { in bitor()
1792 x: self.x.bitor(rhs), in bitor()
1793 y: self.y.bitor(rhs), in bitor()
1794 z: self.z.bitor(rhs), in bitor()
1795 w: self.w.bitor(rhs), in bitor()
1803 fn bitxor(self, rhs: i32) -> Self::Output { in bitxor()
1805 x: self.x.bitxor(rhs), in bitxor()
1806 y: self.y.bitxor(rhs), in bitxor()
1807 z: self.z.bitxor(rhs), in bitxor()
1808 w: self.w.bitxor(rhs), in bitxor()
1816 fn shl(self, rhs: i8) -> Self::Output { in shl()
1818 x: self.x.shl(rhs), in shl()
1819 y: self.y.shl(rhs), in shl()
1820 z: self.z.shl(rhs), in shl()
1821 w: self.w.shl(rhs), in shl()
1829 fn shr(self, rhs: i8) -> Self::Output { in shr()
1831 x: self.x.shr(rhs), in shr()
1832 y: self.y.shr(rhs), in shr()
1833 z: self.z.shr(rhs), in shr()
1834 w: self.w.shr(rhs), in shr()
1842 fn shl(self, rhs: i16) -> Self::Output { in shl()
1844 x: self.x.shl(rhs), in shl()
1845 y: self.y.shl(rhs), in shl()
1846 z: self.z.shl(rhs), in shl()
1847 w: self.w.shl(rhs), in shl()
1855 fn shr(self, rhs: i16) -> Self::Output { in shr()
1857 x: self.x.shr(rhs), in shr()
1858 y: self.y.shr(rhs), in shr()
1859 z: self.z.shr(rhs), in shr()
1860 w: self.w.shr(rhs), in shr()
1868 fn shl(self, rhs: i32) -> Self::Output { in shl()
1870 x: self.x.shl(rhs), in shl()
1871 y: self.y.shl(rhs), in shl()
1872 z: self.z.shl(rhs), in shl()
1873 w: self.w.shl(rhs), in shl()
1881 fn shr(self, rhs: i32) -> Self::Output { in shr()
1883 x: self.x.shr(rhs), in shr()
1884 y: self.y.shr(rhs), in shr()
1885 z: self.z.shr(rhs), in shr()
1886 w: self.w.shr(rhs), in shr()
1894 fn shl(self, rhs: i64) -> Self::Output { in shl()
1896 x: self.x.shl(rhs), in shl()
1897 y: self.y.shl(rhs), in shl()
1898 z: self.z.shl(rhs), in shl()
1899 w: self.w.shl(rhs), in shl()
1907 fn shr(self, rhs: i64) -> Self::Output { in shr()
1909 x: self.x.shr(rhs), in shr()
1910 y: self.y.shr(rhs), in shr()
1911 z: self.z.shr(rhs), in shr()
1912 w: self.w.shr(rhs), in shr()
1920 fn shl(self, rhs: u8) -> Self::Output { in shl()
1922 x: self.x.shl(rhs), in shl()
1923 y: self.y.shl(rhs), in shl()
1924 z: self.z.shl(rhs), in shl()
1925 w: self.w.shl(rhs), in shl()
1933 fn shr(self, rhs: u8) -> Self::Output { in shr()
1935 x: self.x.shr(rhs), in shr()
1936 y: self.y.shr(rhs), in shr()
1937 z: self.z.shr(rhs), in shr()
1938 w: self.w.shr(rhs), in shr()
1946 fn shl(self, rhs: u16) -> Self::Output { in shl()
1948 x: self.x.shl(rhs), in shl()
1949 y: self.y.shl(rhs), in shl()
1950 z: self.z.shl(rhs), in shl()
1951 w: self.w.shl(rhs), in shl()
1959 fn shr(self, rhs: u16) -> Self::Output { in shr()
1961 x: self.x.shr(rhs), in shr()
1962 y: self.y.shr(rhs), in shr()
1963 z: self.z.shr(rhs), in shr()
1964 w: self.w.shr(rhs), in shr()
1972 fn shl(self, rhs: u32) -> Self::Output { in shl()
1974 x: self.x.shl(rhs), in shl()
1975 y: self.y.shl(rhs), in shl()
1976 z: self.z.shl(rhs), in shl()
1977 w: self.w.shl(rhs), in shl()
1985 fn shr(self, rhs: u32) -> Self::Output { in shr()
1987 x: self.x.shr(rhs), in shr()
1988 y: self.y.shr(rhs), in shr()
1989 z: self.z.shr(rhs), in shr()
1990 w: self.w.shr(rhs), in shr()
1998 fn shl(self, rhs: u64) -> Self::Output { in shl()
2000 x: self.x.shl(rhs), in shl()
2001 y: self.y.shl(rhs), in shl()
2002 z: self.z.shl(rhs), in shl()
2003 w: self.w.shl(rhs), in shl()
2011 fn shr(self, rhs: u64) -> Self::Output { in shr()
2013 x: self.x.shr(rhs), in shr()
2014 y: self.y.shr(rhs), in shr()
2015 z: self.z.shr(rhs), in shr()
2016 w: self.w.shr(rhs), in shr()
2024 fn shl(self, rhs: crate::IVec4) -> Self::Output { in shl()
2026 x: self.x.shl(rhs.x), in shl()
2027 y: self.y.shl(rhs.y), in shl()
2028 z: self.z.shl(rhs.z), in shl()
2029 w: self.w.shl(rhs.w), in shl()
2037 fn shr(self, rhs: crate::IVec4) -> Self::Output { in shr()
2039 x: self.x.shr(rhs.x), in shr()
2040 y: self.y.shr(rhs.y), in shr()
2041 z: self.z.shr(rhs.z), in shr()
2042 w: self.w.shr(rhs.w), in shr()
2050 fn shl(self, rhs: crate::UVec4) -> Self::Output { in shl()
2052 x: self.x.shl(rhs.x), in shl()
2053 y: self.y.shl(rhs.y), in shl()
2054 z: self.z.shl(rhs.z), in shl()
2055 w: self.w.shl(rhs.w), in shl()
2063 fn shr(self, rhs: crate::UVec4) -> Self::Output { in shr()
2065 x: self.x.shr(rhs.x), in shr()
2066 y: self.y.shr(rhs.y), in shr()
2067 z: self.z.shr(rhs.z), in shr()
2068 w: self.w.shr(rhs.w), in shr()