1 // Generated from swizzle_impl.rs.tera template. Edit the template, not the generated file. 2 3 #![allow(clippy::useless_conversion)] 4 5 use crate::{Vec2, Vec3, Vec4, Vec4Swizzles}; 6 7 use core::simd::*; 8 9 impl Vec4Swizzles for Vec4 { 10 type Vec2 = Vec2; 11 12 type Vec3 = Vec3; 13 14 #[inline] 15 #[must_use] xx(self) -> Vec216 fn xx(self) -> Vec2 { 17 Vec2 { 18 x: self.x, 19 y: self.x, 20 } 21 } 22 23 #[inline] 24 #[must_use] xy(self) -> Vec225 fn xy(self) -> Vec2 { 26 Vec2 { 27 x: self.x, 28 y: self.y, 29 } 30 } 31 32 #[inline] 33 #[must_use] xz(self) -> Vec234 fn xz(self) -> Vec2 { 35 Vec2 { 36 x: self.x, 37 y: self.z, 38 } 39 } 40 41 #[inline] 42 #[must_use] xw(self) -> Vec243 fn xw(self) -> Vec2 { 44 Vec2 { 45 x: self.x, 46 y: self.w, 47 } 48 } 49 50 #[inline] 51 #[must_use] yx(self) -> Vec252 fn yx(self) -> Vec2 { 53 Vec2 { 54 x: self.y, 55 y: self.x, 56 } 57 } 58 59 #[inline] 60 #[must_use] yy(self) -> Vec261 fn yy(self) -> Vec2 { 62 Vec2 { 63 x: self.y, 64 y: self.y, 65 } 66 } 67 68 #[inline] 69 #[must_use] yz(self) -> Vec270 fn yz(self) -> Vec2 { 71 Vec2 { 72 x: self.y, 73 y: self.z, 74 } 75 } 76 77 #[inline] 78 #[must_use] yw(self) -> Vec279 fn yw(self) -> Vec2 { 80 Vec2 { 81 x: self.y, 82 y: self.w, 83 } 84 } 85 86 #[inline] 87 #[must_use] zx(self) -> Vec288 fn zx(self) -> Vec2 { 89 Vec2 { 90 x: self.z, 91 y: self.x, 92 } 93 } 94 95 #[inline] 96 #[must_use] zy(self) -> Vec297 fn zy(self) -> Vec2 { 98 Vec2 { 99 x: self.z, 100 y: self.y, 101 } 102 } 103 104 #[inline] 105 #[must_use] zz(self) -> Vec2106 fn zz(self) -> Vec2 { 107 Vec2 { 108 x: self.z, 109 y: self.z, 110 } 111 } 112 113 #[inline] 114 #[must_use] zw(self) -> Vec2115 fn zw(self) -> Vec2 { 116 Vec2 { 117 x: self.z, 118 y: self.w, 119 } 120 } 121 122 #[inline] 123 #[must_use] wx(self) -> Vec2124 fn wx(self) -> Vec2 { 125 Vec2 { 126 x: self.w, 127 y: self.x, 128 } 129 } 130 131 #[inline] 132 #[must_use] wy(self) -> Vec2133 fn wy(self) -> Vec2 { 134 Vec2 { 135 x: self.w, 136 y: self.y, 137 } 138 } 139 140 #[inline] 141 #[must_use] wz(self) -> Vec2142 fn wz(self) -> Vec2 { 143 Vec2 { 144 x: self.w, 145 y: self.z, 146 } 147 } 148 149 #[inline] 150 #[must_use] ww(self) -> Vec2151 fn ww(self) -> Vec2 { 152 Vec2 { 153 x: self.w, 154 y: self.w, 155 } 156 } 157 158 #[inline] 159 #[must_use] xxx(self) -> Vec3160 fn xxx(self) -> Vec3 { 161 Vec3 { 162 x: self.x, 163 y: self.x, 164 z: self.x, 165 } 166 } 167 168 #[inline] 169 #[must_use] xxy(self) -> Vec3170 fn xxy(self) -> Vec3 { 171 Vec3 { 172 x: self.x, 173 y: self.x, 174 z: self.y, 175 } 176 } 177 178 #[inline] 179 #[must_use] xxz(self) -> Vec3180 fn xxz(self) -> Vec3 { 181 Vec3 { 182 x: self.x, 183 y: self.x, 184 z: self.z, 185 } 186 } 187 188 #[inline] 189 #[must_use] xxw(self) -> Vec3190 fn xxw(self) -> Vec3 { 191 Vec3 { 192 x: self.x, 193 y: self.x, 194 z: self.w, 195 } 196 } 197 198 #[inline] 199 #[must_use] xyx(self) -> Vec3200 fn xyx(self) -> Vec3 { 201 Vec3 { 202 x: self.x, 203 y: self.y, 204 z: self.x, 205 } 206 } 207 208 #[inline] 209 #[must_use] xyy(self) -> Vec3210 fn xyy(self) -> Vec3 { 211 Vec3 { 212 x: self.x, 213 y: self.y, 214 z: self.y, 215 } 216 } 217 218 #[inline] 219 #[must_use] xyz(self) -> Vec3220 fn xyz(self) -> Vec3 { 221 Vec3 { 222 x: self.x, 223 y: self.y, 224 z: self.z, 225 } 226 } 227 228 #[inline] 229 #[must_use] xyw(self) -> Vec3230 fn xyw(self) -> Vec3 { 231 Vec3 { 232 x: self.x, 233 y: self.y, 234 z: self.w, 235 } 236 } 237 238 #[inline] 239 #[must_use] xzx(self) -> Vec3240 fn xzx(self) -> Vec3 { 241 Vec3 { 242 x: self.x, 243 y: self.z, 244 z: self.x, 245 } 246 } 247 248 #[inline] 249 #[must_use] xzy(self) -> Vec3250 fn xzy(self) -> Vec3 { 251 Vec3 { 252 x: self.x, 253 y: self.z, 254 z: self.y, 255 } 256 } 257 258 #[inline] 259 #[must_use] xzz(self) -> Vec3260 fn xzz(self) -> Vec3 { 261 Vec3 { 262 x: self.x, 263 y: self.z, 264 z: self.z, 265 } 266 } 267 268 #[inline] 269 #[must_use] xzw(self) -> Vec3270 fn xzw(self) -> Vec3 { 271 Vec3 { 272 x: self.x, 273 y: self.z, 274 z: self.w, 275 } 276 } 277 278 #[inline] 279 #[must_use] xwx(self) -> Vec3280 fn xwx(self) -> Vec3 { 281 Vec3 { 282 x: self.x, 283 y: self.w, 284 z: self.x, 285 } 286 } 287 288 #[inline] 289 #[must_use] xwy(self) -> Vec3290 fn xwy(self) -> Vec3 { 291 Vec3 { 292 x: self.x, 293 y: self.w, 294 z: self.y, 295 } 296 } 297 298 #[inline] 299 #[must_use] xwz(self) -> Vec3300 fn xwz(self) -> Vec3 { 301 Vec3 { 302 x: self.x, 303 y: self.w, 304 z: self.z, 305 } 306 } 307 308 #[inline] 309 #[must_use] xww(self) -> Vec3310 fn xww(self) -> Vec3 { 311 Vec3 { 312 x: self.x, 313 y: self.w, 314 z: self.w, 315 } 316 } 317 318 #[inline] 319 #[must_use] yxx(self) -> Vec3320 fn yxx(self) -> Vec3 { 321 Vec3 { 322 x: self.y, 323 y: self.x, 324 z: self.x, 325 } 326 } 327 328 #[inline] 329 #[must_use] yxy(self) -> Vec3330 fn yxy(self) -> Vec3 { 331 Vec3 { 332 x: self.y, 333 y: self.x, 334 z: self.y, 335 } 336 } 337 338 #[inline] 339 #[must_use] yxz(self) -> Vec3340 fn yxz(self) -> Vec3 { 341 Vec3 { 342 x: self.y, 343 y: self.x, 344 z: self.z, 345 } 346 } 347 348 #[inline] 349 #[must_use] yxw(self) -> Vec3350 fn yxw(self) -> Vec3 { 351 Vec3 { 352 x: self.y, 353 y: self.x, 354 z: self.w, 355 } 356 } 357 358 #[inline] 359 #[must_use] yyx(self) -> Vec3360 fn yyx(self) -> Vec3 { 361 Vec3 { 362 x: self.y, 363 y: self.y, 364 z: self.x, 365 } 366 } 367 368 #[inline] 369 #[must_use] yyy(self) -> Vec3370 fn yyy(self) -> Vec3 { 371 Vec3 { 372 x: self.y, 373 y: self.y, 374 z: self.y, 375 } 376 } 377 378 #[inline] 379 #[must_use] yyz(self) -> Vec3380 fn yyz(self) -> Vec3 { 381 Vec3 { 382 x: self.y, 383 y: self.y, 384 z: self.z, 385 } 386 } 387 388 #[inline] 389 #[must_use] yyw(self) -> Vec3390 fn yyw(self) -> Vec3 { 391 Vec3 { 392 x: self.y, 393 y: self.y, 394 z: self.w, 395 } 396 } 397 398 #[inline] 399 #[must_use] yzx(self) -> Vec3400 fn yzx(self) -> Vec3 { 401 Vec3 { 402 x: self.y, 403 y: self.z, 404 z: self.x, 405 } 406 } 407 408 #[inline] 409 #[must_use] yzy(self) -> Vec3410 fn yzy(self) -> Vec3 { 411 Vec3 { 412 x: self.y, 413 y: self.z, 414 z: self.y, 415 } 416 } 417 418 #[inline] 419 #[must_use] yzz(self) -> Vec3420 fn yzz(self) -> Vec3 { 421 Vec3 { 422 x: self.y, 423 y: self.z, 424 z: self.z, 425 } 426 } 427 428 #[inline] 429 #[must_use] yzw(self) -> Vec3430 fn yzw(self) -> Vec3 { 431 Vec3 { 432 x: self.y, 433 y: self.z, 434 z: self.w, 435 } 436 } 437 438 #[inline] 439 #[must_use] ywx(self) -> Vec3440 fn ywx(self) -> Vec3 { 441 Vec3 { 442 x: self.y, 443 y: self.w, 444 z: self.x, 445 } 446 } 447 448 #[inline] 449 #[must_use] ywy(self) -> Vec3450 fn ywy(self) -> Vec3 { 451 Vec3 { 452 x: self.y, 453 y: self.w, 454 z: self.y, 455 } 456 } 457 458 #[inline] 459 #[must_use] ywz(self) -> Vec3460 fn ywz(self) -> Vec3 { 461 Vec3 { 462 x: self.y, 463 y: self.w, 464 z: self.z, 465 } 466 } 467 468 #[inline] 469 #[must_use] yww(self) -> Vec3470 fn yww(self) -> Vec3 { 471 Vec3 { 472 x: self.y, 473 y: self.w, 474 z: self.w, 475 } 476 } 477 478 #[inline] 479 #[must_use] zxx(self) -> Vec3480 fn zxx(self) -> Vec3 { 481 Vec3 { 482 x: self.z, 483 y: self.x, 484 z: self.x, 485 } 486 } 487 488 #[inline] 489 #[must_use] zxy(self) -> Vec3490 fn zxy(self) -> Vec3 { 491 Vec3 { 492 x: self.z, 493 y: self.x, 494 z: self.y, 495 } 496 } 497 498 #[inline] 499 #[must_use] zxz(self) -> Vec3500 fn zxz(self) -> Vec3 { 501 Vec3 { 502 x: self.z, 503 y: self.x, 504 z: self.z, 505 } 506 } 507 508 #[inline] 509 #[must_use] zxw(self) -> Vec3510 fn zxw(self) -> Vec3 { 511 Vec3 { 512 x: self.z, 513 y: self.x, 514 z: self.w, 515 } 516 } 517 518 #[inline] 519 #[must_use] zyx(self) -> Vec3520 fn zyx(self) -> Vec3 { 521 Vec3 { 522 x: self.z, 523 y: self.y, 524 z: self.x, 525 } 526 } 527 528 #[inline] 529 #[must_use] zyy(self) -> Vec3530 fn zyy(self) -> Vec3 { 531 Vec3 { 532 x: self.z, 533 y: self.y, 534 z: self.y, 535 } 536 } 537 538 #[inline] 539 #[must_use] zyz(self) -> Vec3540 fn zyz(self) -> Vec3 { 541 Vec3 { 542 x: self.z, 543 y: self.y, 544 z: self.z, 545 } 546 } 547 548 #[inline] 549 #[must_use] zyw(self) -> Vec3550 fn zyw(self) -> Vec3 { 551 Vec3 { 552 x: self.z, 553 y: self.y, 554 z: self.w, 555 } 556 } 557 558 #[inline] 559 #[must_use] zzx(self) -> Vec3560 fn zzx(self) -> Vec3 { 561 Vec3 { 562 x: self.z, 563 y: self.z, 564 z: self.x, 565 } 566 } 567 568 #[inline] 569 #[must_use] zzy(self) -> Vec3570 fn zzy(self) -> Vec3 { 571 Vec3 { 572 x: self.z, 573 y: self.z, 574 z: self.y, 575 } 576 } 577 578 #[inline] 579 #[must_use] zzz(self) -> Vec3580 fn zzz(self) -> Vec3 { 581 Vec3 { 582 x: self.z, 583 y: self.z, 584 z: self.z, 585 } 586 } 587 588 #[inline] 589 #[must_use] zzw(self) -> Vec3590 fn zzw(self) -> Vec3 { 591 Vec3 { 592 x: self.z, 593 y: self.z, 594 z: self.w, 595 } 596 } 597 598 #[inline] 599 #[must_use] zwx(self) -> Vec3600 fn zwx(self) -> Vec3 { 601 Vec3 { 602 x: self.z, 603 y: self.w, 604 z: self.x, 605 } 606 } 607 608 #[inline] 609 #[must_use] zwy(self) -> Vec3610 fn zwy(self) -> Vec3 { 611 Vec3 { 612 x: self.z, 613 y: self.w, 614 z: self.y, 615 } 616 } 617 618 #[inline] 619 #[must_use] zwz(self) -> Vec3620 fn zwz(self) -> Vec3 { 621 Vec3 { 622 x: self.z, 623 y: self.w, 624 z: self.z, 625 } 626 } 627 628 #[inline] 629 #[must_use] zww(self) -> Vec3630 fn zww(self) -> Vec3 { 631 Vec3 { 632 x: self.z, 633 y: self.w, 634 z: self.w, 635 } 636 } 637 638 #[inline] 639 #[must_use] wxx(self) -> Vec3640 fn wxx(self) -> Vec3 { 641 Vec3 { 642 x: self.w, 643 y: self.x, 644 z: self.x, 645 } 646 } 647 648 #[inline] 649 #[must_use] wxy(self) -> Vec3650 fn wxy(self) -> Vec3 { 651 Vec3 { 652 x: self.w, 653 y: self.x, 654 z: self.y, 655 } 656 } 657 658 #[inline] 659 #[must_use] wxz(self) -> Vec3660 fn wxz(self) -> Vec3 { 661 Vec3 { 662 x: self.w, 663 y: self.x, 664 z: self.z, 665 } 666 } 667 668 #[inline] 669 #[must_use] wxw(self) -> Vec3670 fn wxw(self) -> Vec3 { 671 Vec3 { 672 x: self.w, 673 y: self.x, 674 z: self.w, 675 } 676 } 677 678 #[inline] 679 #[must_use] wyx(self) -> Vec3680 fn wyx(self) -> Vec3 { 681 Vec3 { 682 x: self.w, 683 y: self.y, 684 z: self.x, 685 } 686 } 687 688 #[inline] 689 #[must_use] wyy(self) -> Vec3690 fn wyy(self) -> Vec3 { 691 Vec3 { 692 x: self.w, 693 y: self.y, 694 z: self.y, 695 } 696 } 697 698 #[inline] 699 #[must_use] wyz(self) -> Vec3700 fn wyz(self) -> Vec3 { 701 Vec3 { 702 x: self.w, 703 y: self.y, 704 z: self.z, 705 } 706 } 707 708 #[inline] 709 #[must_use] wyw(self) -> Vec3710 fn wyw(self) -> Vec3 { 711 Vec3 { 712 x: self.w, 713 y: self.y, 714 z: self.w, 715 } 716 } 717 718 #[inline] 719 #[must_use] wzx(self) -> Vec3720 fn wzx(self) -> Vec3 { 721 Vec3 { 722 x: self.w, 723 y: self.z, 724 z: self.x, 725 } 726 } 727 728 #[inline] 729 #[must_use] wzy(self) -> Vec3730 fn wzy(self) -> Vec3 { 731 Vec3 { 732 x: self.w, 733 y: self.z, 734 z: self.y, 735 } 736 } 737 738 #[inline] 739 #[must_use] wzz(self) -> Vec3740 fn wzz(self) -> Vec3 { 741 Vec3 { 742 x: self.w, 743 y: self.z, 744 z: self.z, 745 } 746 } 747 748 #[inline] 749 #[must_use] wzw(self) -> Vec3750 fn wzw(self) -> Vec3 { 751 Vec3 { 752 x: self.w, 753 y: self.z, 754 z: self.w, 755 } 756 } 757 758 #[inline] 759 #[must_use] wwx(self) -> Vec3760 fn wwx(self) -> Vec3 { 761 Vec3 { 762 x: self.w, 763 y: self.w, 764 z: self.x, 765 } 766 } 767 768 #[inline] 769 #[must_use] wwy(self) -> Vec3770 fn wwy(self) -> Vec3 { 771 Vec3 { 772 x: self.w, 773 y: self.w, 774 z: self.y, 775 } 776 } 777 778 #[inline] 779 #[must_use] wwz(self) -> Vec3780 fn wwz(self) -> Vec3 { 781 Vec3 { 782 x: self.w, 783 y: self.w, 784 z: self.z, 785 } 786 } 787 788 #[inline] 789 #[must_use] www(self) -> Vec3790 fn www(self) -> Vec3 { 791 Vec3 { 792 x: self.w, 793 y: self.w, 794 z: self.w, 795 } 796 } 797 798 #[inline] 799 #[must_use] xxxx(self) -> Vec4800 fn xxxx(self) -> Vec4 { 801 Vec4(simd_swizzle!(self.0, [0, 0, 0, 0])) 802 } 803 804 #[inline] 805 #[must_use] xxxy(self) -> Vec4806 fn xxxy(self) -> Vec4 { 807 Vec4(simd_swizzle!(self.0, [0, 0, 0, 1])) 808 } 809 810 #[inline] 811 #[must_use] xxxz(self) -> Vec4812 fn xxxz(self) -> Vec4 { 813 Vec4(simd_swizzle!(self.0, [0, 0, 0, 2])) 814 } 815 816 #[inline] 817 #[must_use] xxxw(self) -> Vec4818 fn xxxw(self) -> Vec4 { 819 Vec4(simd_swizzle!(self.0, [0, 0, 0, 3])) 820 } 821 822 #[inline] 823 #[must_use] xxyx(self) -> Vec4824 fn xxyx(self) -> Vec4 { 825 Vec4(simd_swizzle!(self.0, [0, 0, 1, 0])) 826 } 827 828 #[inline] 829 #[must_use] xxyy(self) -> Vec4830 fn xxyy(self) -> Vec4 { 831 Vec4(simd_swizzle!(self.0, [0, 0, 1, 1])) 832 } 833 834 #[inline] 835 #[must_use] xxyz(self) -> Vec4836 fn xxyz(self) -> Vec4 { 837 Vec4(simd_swizzle!(self.0, [0, 0, 1, 2])) 838 } 839 840 #[inline] 841 #[must_use] xxyw(self) -> Vec4842 fn xxyw(self) -> Vec4 { 843 Vec4(simd_swizzle!(self.0, [0, 0, 1, 3])) 844 } 845 846 #[inline] 847 #[must_use] xxzx(self) -> Vec4848 fn xxzx(self) -> Vec4 { 849 Vec4(simd_swizzle!(self.0, [0, 0, 2, 0])) 850 } 851 852 #[inline] 853 #[must_use] xxzy(self) -> Vec4854 fn xxzy(self) -> Vec4 { 855 Vec4(simd_swizzle!(self.0, [0, 0, 2, 1])) 856 } 857 858 #[inline] 859 #[must_use] xxzz(self) -> Vec4860 fn xxzz(self) -> Vec4 { 861 Vec4(simd_swizzle!(self.0, [0, 0, 2, 2])) 862 } 863 864 #[inline] 865 #[must_use] xxzw(self) -> Vec4866 fn xxzw(self) -> Vec4 { 867 Vec4(simd_swizzle!(self.0, [0, 0, 2, 3])) 868 } 869 870 #[inline] 871 #[must_use] xxwx(self) -> Vec4872 fn xxwx(self) -> Vec4 { 873 Vec4(simd_swizzle!(self.0, [0, 0, 3, 0])) 874 } 875 876 #[inline] 877 #[must_use] xxwy(self) -> Vec4878 fn xxwy(self) -> Vec4 { 879 Vec4(simd_swizzle!(self.0, [0, 0, 3, 1])) 880 } 881 882 #[inline] 883 #[must_use] xxwz(self) -> Vec4884 fn xxwz(self) -> Vec4 { 885 Vec4(simd_swizzle!(self.0, [0, 0, 3, 2])) 886 } 887 888 #[inline] 889 #[must_use] xxww(self) -> Vec4890 fn xxww(self) -> Vec4 { 891 Vec4(simd_swizzle!(self.0, [0, 0, 3, 3])) 892 } 893 894 #[inline] 895 #[must_use] xyxx(self) -> Vec4896 fn xyxx(self) -> Vec4 { 897 Vec4(simd_swizzle!(self.0, [0, 1, 0, 0])) 898 } 899 900 #[inline] 901 #[must_use] xyxy(self) -> Vec4902 fn xyxy(self) -> Vec4 { 903 Vec4(simd_swizzle!(self.0, [0, 1, 0, 1])) 904 } 905 906 #[inline] 907 #[must_use] xyxz(self) -> Vec4908 fn xyxz(self) -> Vec4 { 909 Vec4(simd_swizzle!(self.0, [0, 1, 0, 2])) 910 } 911 912 #[inline] 913 #[must_use] xyxw(self) -> Vec4914 fn xyxw(self) -> Vec4 { 915 Vec4(simd_swizzle!(self.0, [0, 1, 0, 3])) 916 } 917 918 #[inline] 919 #[must_use] xyyx(self) -> Vec4920 fn xyyx(self) -> Vec4 { 921 Vec4(simd_swizzle!(self.0, [0, 1, 1, 0])) 922 } 923 924 #[inline] 925 #[must_use] xyyy(self) -> Vec4926 fn xyyy(self) -> Vec4 { 927 Vec4(simd_swizzle!(self.0, [0, 1, 1, 1])) 928 } 929 930 #[inline] 931 #[must_use] xyyz(self) -> Vec4932 fn xyyz(self) -> Vec4 { 933 Vec4(simd_swizzle!(self.0, [0, 1, 1, 2])) 934 } 935 936 #[inline] 937 #[must_use] xyyw(self) -> Vec4938 fn xyyw(self) -> Vec4 { 939 Vec4(simd_swizzle!(self.0, [0, 1, 1, 3])) 940 } 941 942 #[inline] 943 #[must_use] xyzx(self) -> Vec4944 fn xyzx(self) -> Vec4 { 945 Vec4(simd_swizzle!(self.0, [0, 1, 2, 0])) 946 } 947 948 #[inline] 949 #[must_use] xyzy(self) -> Vec4950 fn xyzy(self) -> Vec4 { 951 Vec4(simd_swizzle!(self.0, [0, 1, 2, 1])) 952 } 953 954 #[inline] 955 #[must_use] xyzz(self) -> Vec4956 fn xyzz(self) -> Vec4 { 957 Vec4(simd_swizzle!(self.0, [0, 1, 2, 2])) 958 } 959 960 #[inline] 961 #[must_use] xyzw(self) -> Vec4962 fn xyzw(self) -> Vec4 { 963 Vec4(simd_swizzle!(self.0, [0, 1, 2, 3])) 964 } 965 966 #[inline] 967 #[must_use] xywx(self) -> Vec4968 fn xywx(self) -> Vec4 { 969 Vec4(simd_swizzle!(self.0, [0, 1, 3, 0])) 970 } 971 972 #[inline] 973 #[must_use] xywy(self) -> Vec4974 fn xywy(self) -> Vec4 { 975 Vec4(simd_swizzle!(self.0, [0, 1, 3, 1])) 976 } 977 978 #[inline] 979 #[must_use] xywz(self) -> Vec4980 fn xywz(self) -> Vec4 { 981 Vec4(simd_swizzle!(self.0, [0, 1, 3, 2])) 982 } 983 984 #[inline] 985 #[must_use] xyww(self) -> Vec4986 fn xyww(self) -> Vec4 { 987 Vec4(simd_swizzle!(self.0, [0, 1, 3, 3])) 988 } 989 990 #[inline] 991 #[must_use] xzxx(self) -> Vec4992 fn xzxx(self) -> Vec4 { 993 Vec4(simd_swizzle!(self.0, [0, 2, 0, 0])) 994 } 995 996 #[inline] 997 #[must_use] xzxy(self) -> Vec4998 fn xzxy(self) -> Vec4 { 999 Vec4(simd_swizzle!(self.0, [0, 2, 0, 1])) 1000 } 1001 1002 #[inline] 1003 #[must_use] xzxz(self) -> Vec41004 fn xzxz(self) -> Vec4 { 1005 Vec4(simd_swizzle!(self.0, [0, 2, 0, 2])) 1006 } 1007 1008 #[inline] 1009 #[must_use] xzxw(self) -> Vec41010 fn xzxw(self) -> Vec4 { 1011 Vec4(simd_swizzle!(self.0, [0, 2, 0, 3])) 1012 } 1013 1014 #[inline] 1015 #[must_use] xzyx(self) -> Vec41016 fn xzyx(self) -> Vec4 { 1017 Vec4(simd_swizzle!(self.0, [0, 2, 1, 0])) 1018 } 1019 1020 #[inline] 1021 #[must_use] xzyy(self) -> Vec41022 fn xzyy(self) -> Vec4 { 1023 Vec4(simd_swizzle!(self.0, [0, 2, 1, 1])) 1024 } 1025 1026 #[inline] 1027 #[must_use] xzyz(self) -> Vec41028 fn xzyz(self) -> Vec4 { 1029 Vec4(simd_swizzle!(self.0, [0, 2, 1, 2])) 1030 } 1031 1032 #[inline] 1033 #[must_use] xzyw(self) -> Vec41034 fn xzyw(self) -> Vec4 { 1035 Vec4(simd_swizzle!(self.0, [0, 2, 1, 3])) 1036 } 1037 1038 #[inline] 1039 #[must_use] xzzx(self) -> Vec41040 fn xzzx(self) -> Vec4 { 1041 Vec4(simd_swizzle!(self.0, [0, 2, 2, 0])) 1042 } 1043 1044 #[inline] 1045 #[must_use] xzzy(self) -> Vec41046 fn xzzy(self) -> Vec4 { 1047 Vec4(simd_swizzle!(self.0, [0, 2, 2, 1])) 1048 } 1049 1050 #[inline] 1051 #[must_use] xzzz(self) -> Vec41052 fn xzzz(self) -> Vec4 { 1053 Vec4(simd_swizzle!(self.0, [0, 2, 2, 2])) 1054 } 1055 1056 #[inline] 1057 #[must_use] xzzw(self) -> Vec41058 fn xzzw(self) -> Vec4 { 1059 Vec4(simd_swizzle!(self.0, [0, 2, 2, 3])) 1060 } 1061 1062 #[inline] 1063 #[must_use] xzwx(self) -> Vec41064 fn xzwx(self) -> Vec4 { 1065 Vec4(simd_swizzle!(self.0, [0, 2, 3, 0])) 1066 } 1067 1068 #[inline] 1069 #[must_use] xzwy(self) -> Vec41070 fn xzwy(self) -> Vec4 { 1071 Vec4(simd_swizzle!(self.0, [0, 2, 3, 1])) 1072 } 1073 1074 #[inline] 1075 #[must_use] xzwz(self) -> Vec41076 fn xzwz(self) -> Vec4 { 1077 Vec4(simd_swizzle!(self.0, [0, 2, 3, 2])) 1078 } 1079 1080 #[inline] 1081 #[must_use] xzww(self) -> Vec41082 fn xzww(self) -> Vec4 { 1083 Vec4(simd_swizzle!(self.0, [0, 2, 3, 3])) 1084 } 1085 1086 #[inline] 1087 #[must_use] xwxx(self) -> Vec41088 fn xwxx(self) -> Vec4 { 1089 Vec4(simd_swizzle!(self.0, [0, 3, 0, 0])) 1090 } 1091 1092 #[inline] 1093 #[must_use] xwxy(self) -> Vec41094 fn xwxy(self) -> Vec4 { 1095 Vec4(simd_swizzle!(self.0, [0, 3, 0, 1])) 1096 } 1097 1098 #[inline] 1099 #[must_use] xwxz(self) -> Vec41100 fn xwxz(self) -> Vec4 { 1101 Vec4(simd_swizzle!(self.0, [0, 3, 0, 2])) 1102 } 1103 1104 #[inline] 1105 #[must_use] xwxw(self) -> Vec41106 fn xwxw(self) -> Vec4 { 1107 Vec4(simd_swizzle!(self.0, [0, 3, 0, 3])) 1108 } 1109 1110 #[inline] 1111 #[must_use] xwyx(self) -> Vec41112 fn xwyx(self) -> Vec4 { 1113 Vec4(simd_swizzle!(self.0, [0, 3, 1, 0])) 1114 } 1115 1116 #[inline] 1117 #[must_use] xwyy(self) -> Vec41118 fn xwyy(self) -> Vec4 { 1119 Vec4(simd_swizzle!(self.0, [0, 3, 1, 1])) 1120 } 1121 1122 #[inline] 1123 #[must_use] xwyz(self) -> Vec41124 fn xwyz(self) -> Vec4 { 1125 Vec4(simd_swizzle!(self.0, [0, 3, 1, 2])) 1126 } 1127 1128 #[inline] 1129 #[must_use] xwyw(self) -> Vec41130 fn xwyw(self) -> Vec4 { 1131 Vec4(simd_swizzle!(self.0, [0, 3, 1, 3])) 1132 } 1133 1134 #[inline] 1135 #[must_use] xwzx(self) -> Vec41136 fn xwzx(self) -> Vec4 { 1137 Vec4(simd_swizzle!(self.0, [0, 3, 2, 0])) 1138 } 1139 1140 #[inline] 1141 #[must_use] xwzy(self) -> Vec41142 fn xwzy(self) -> Vec4 { 1143 Vec4(simd_swizzle!(self.0, [0, 3, 2, 1])) 1144 } 1145 1146 #[inline] 1147 #[must_use] xwzz(self) -> Vec41148 fn xwzz(self) -> Vec4 { 1149 Vec4(simd_swizzle!(self.0, [0, 3, 2, 2])) 1150 } 1151 1152 #[inline] 1153 #[must_use] xwzw(self) -> Vec41154 fn xwzw(self) -> Vec4 { 1155 Vec4(simd_swizzle!(self.0, [0, 3, 2, 3])) 1156 } 1157 1158 #[inline] 1159 #[must_use] xwwx(self) -> Vec41160 fn xwwx(self) -> Vec4 { 1161 Vec4(simd_swizzle!(self.0, [0, 3, 3, 0])) 1162 } 1163 1164 #[inline] 1165 #[must_use] xwwy(self) -> Vec41166 fn xwwy(self) -> Vec4 { 1167 Vec4(simd_swizzle!(self.0, [0, 3, 3, 1])) 1168 } 1169 1170 #[inline] 1171 #[must_use] xwwz(self) -> Vec41172 fn xwwz(self) -> Vec4 { 1173 Vec4(simd_swizzle!(self.0, [0, 3, 3, 2])) 1174 } 1175 1176 #[inline] 1177 #[must_use] xwww(self) -> Vec41178 fn xwww(self) -> Vec4 { 1179 Vec4(simd_swizzle!(self.0, [0, 3, 3, 3])) 1180 } 1181 1182 #[inline] 1183 #[must_use] yxxx(self) -> Vec41184 fn yxxx(self) -> Vec4 { 1185 Vec4(simd_swizzle!(self.0, [1, 0, 0, 0])) 1186 } 1187 1188 #[inline] 1189 #[must_use] yxxy(self) -> Vec41190 fn yxxy(self) -> Vec4 { 1191 Vec4(simd_swizzle!(self.0, [1, 0, 0, 1])) 1192 } 1193 1194 #[inline] 1195 #[must_use] yxxz(self) -> Vec41196 fn yxxz(self) -> Vec4 { 1197 Vec4(simd_swizzle!(self.0, [1, 0, 0, 2])) 1198 } 1199 1200 #[inline] 1201 #[must_use] yxxw(self) -> Vec41202 fn yxxw(self) -> Vec4 { 1203 Vec4(simd_swizzle!(self.0, [1, 0, 0, 3])) 1204 } 1205 1206 #[inline] 1207 #[must_use] yxyx(self) -> Vec41208 fn yxyx(self) -> Vec4 { 1209 Vec4(simd_swizzle!(self.0, [1, 0, 1, 0])) 1210 } 1211 1212 #[inline] 1213 #[must_use] yxyy(self) -> Vec41214 fn yxyy(self) -> Vec4 { 1215 Vec4(simd_swizzle!(self.0, [1, 0, 1, 1])) 1216 } 1217 1218 #[inline] 1219 #[must_use] yxyz(self) -> Vec41220 fn yxyz(self) -> Vec4 { 1221 Vec4(simd_swizzle!(self.0, [1, 0, 1, 2])) 1222 } 1223 1224 #[inline] 1225 #[must_use] yxyw(self) -> Vec41226 fn yxyw(self) -> Vec4 { 1227 Vec4(simd_swizzle!(self.0, [1, 0, 1, 3])) 1228 } 1229 1230 #[inline] 1231 #[must_use] yxzx(self) -> Vec41232 fn yxzx(self) -> Vec4 { 1233 Vec4(simd_swizzle!(self.0, [1, 0, 2, 0])) 1234 } 1235 1236 #[inline] 1237 #[must_use] yxzy(self) -> Vec41238 fn yxzy(self) -> Vec4 { 1239 Vec4(simd_swizzle!(self.0, [1, 0, 2, 1])) 1240 } 1241 1242 #[inline] 1243 #[must_use] yxzz(self) -> Vec41244 fn yxzz(self) -> Vec4 { 1245 Vec4(simd_swizzle!(self.0, [1, 0, 2, 2])) 1246 } 1247 1248 #[inline] 1249 #[must_use] yxzw(self) -> Vec41250 fn yxzw(self) -> Vec4 { 1251 Vec4(simd_swizzle!(self.0, [1, 0, 2, 3])) 1252 } 1253 1254 #[inline] 1255 #[must_use] yxwx(self) -> Vec41256 fn yxwx(self) -> Vec4 { 1257 Vec4(simd_swizzle!(self.0, [1, 0, 3, 0])) 1258 } 1259 1260 #[inline] 1261 #[must_use] yxwy(self) -> Vec41262 fn yxwy(self) -> Vec4 { 1263 Vec4(simd_swizzle!(self.0, [1, 0, 3, 1])) 1264 } 1265 1266 #[inline] 1267 #[must_use] yxwz(self) -> Vec41268 fn yxwz(self) -> Vec4 { 1269 Vec4(simd_swizzle!(self.0, [1, 0, 3, 2])) 1270 } 1271 1272 #[inline] 1273 #[must_use] yxww(self) -> Vec41274 fn yxww(self) -> Vec4 { 1275 Vec4(simd_swizzle!(self.0, [1, 0, 3, 3])) 1276 } 1277 1278 #[inline] 1279 #[must_use] yyxx(self) -> Vec41280 fn yyxx(self) -> Vec4 { 1281 Vec4(simd_swizzle!(self.0, [1, 1, 0, 0])) 1282 } 1283 1284 #[inline] 1285 #[must_use] yyxy(self) -> Vec41286 fn yyxy(self) -> Vec4 { 1287 Vec4(simd_swizzle!(self.0, [1, 1, 0, 1])) 1288 } 1289 1290 #[inline] 1291 #[must_use] yyxz(self) -> Vec41292 fn yyxz(self) -> Vec4 { 1293 Vec4(simd_swizzle!(self.0, [1, 1, 0, 2])) 1294 } 1295 1296 #[inline] 1297 #[must_use] yyxw(self) -> Vec41298 fn yyxw(self) -> Vec4 { 1299 Vec4(simd_swizzle!(self.0, [1, 1, 0, 3])) 1300 } 1301 1302 #[inline] 1303 #[must_use] yyyx(self) -> Vec41304 fn yyyx(self) -> Vec4 { 1305 Vec4(simd_swizzle!(self.0, [1, 1, 1, 0])) 1306 } 1307 1308 #[inline] 1309 #[must_use] yyyy(self) -> Vec41310 fn yyyy(self) -> Vec4 { 1311 Vec4(simd_swizzle!(self.0, [1, 1, 1, 1])) 1312 } 1313 1314 #[inline] 1315 #[must_use] yyyz(self) -> Vec41316 fn yyyz(self) -> Vec4 { 1317 Vec4(simd_swizzle!(self.0, [1, 1, 1, 2])) 1318 } 1319 1320 #[inline] 1321 #[must_use] yyyw(self) -> Vec41322 fn yyyw(self) -> Vec4 { 1323 Vec4(simd_swizzle!(self.0, [1, 1, 1, 3])) 1324 } 1325 1326 #[inline] 1327 #[must_use] yyzx(self) -> Vec41328 fn yyzx(self) -> Vec4 { 1329 Vec4(simd_swizzle!(self.0, [1, 1, 2, 0])) 1330 } 1331 1332 #[inline] 1333 #[must_use] yyzy(self) -> Vec41334 fn yyzy(self) -> Vec4 { 1335 Vec4(simd_swizzle!(self.0, [1, 1, 2, 1])) 1336 } 1337 1338 #[inline] 1339 #[must_use] yyzz(self) -> Vec41340 fn yyzz(self) -> Vec4 { 1341 Vec4(simd_swizzle!(self.0, [1, 1, 2, 2])) 1342 } 1343 1344 #[inline] 1345 #[must_use] yyzw(self) -> Vec41346 fn yyzw(self) -> Vec4 { 1347 Vec4(simd_swizzle!(self.0, [1, 1, 2, 3])) 1348 } 1349 1350 #[inline] 1351 #[must_use] yywx(self) -> Vec41352 fn yywx(self) -> Vec4 { 1353 Vec4(simd_swizzle!(self.0, [1, 1, 3, 0])) 1354 } 1355 1356 #[inline] 1357 #[must_use] yywy(self) -> Vec41358 fn yywy(self) -> Vec4 { 1359 Vec4(simd_swizzle!(self.0, [1, 1, 3, 1])) 1360 } 1361 1362 #[inline] 1363 #[must_use] yywz(self) -> Vec41364 fn yywz(self) -> Vec4 { 1365 Vec4(simd_swizzle!(self.0, [1, 1, 3, 2])) 1366 } 1367 1368 #[inline] 1369 #[must_use] yyww(self) -> Vec41370 fn yyww(self) -> Vec4 { 1371 Vec4(simd_swizzle!(self.0, [1, 1, 3, 3])) 1372 } 1373 1374 #[inline] 1375 #[must_use] yzxx(self) -> Vec41376 fn yzxx(self) -> Vec4 { 1377 Vec4(simd_swizzle!(self.0, [1, 2, 0, 0])) 1378 } 1379 1380 #[inline] 1381 #[must_use] yzxy(self) -> Vec41382 fn yzxy(self) -> Vec4 { 1383 Vec4(simd_swizzle!(self.0, [1, 2, 0, 1])) 1384 } 1385 1386 #[inline] 1387 #[must_use] yzxz(self) -> Vec41388 fn yzxz(self) -> Vec4 { 1389 Vec4(simd_swizzle!(self.0, [1, 2, 0, 2])) 1390 } 1391 1392 #[inline] 1393 #[must_use] yzxw(self) -> Vec41394 fn yzxw(self) -> Vec4 { 1395 Vec4(simd_swizzle!(self.0, [1, 2, 0, 3])) 1396 } 1397 1398 #[inline] 1399 #[must_use] yzyx(self) -> Vec41400 fn yzyx(self) -> Vec4 { 1401 Vec4(simd_swizzle!(self.0, [1, 2, 1, 0])) 1402 } 1403 1404 #[inline] 1405 #[must_use] yzyy(self) -> Vec41406 fn yzyy(self) -> Vec4 { 1407 Vec4(simd_swizzle!(self.0, [1, 2, 1, 1])) 1408 } 1409 1410 #[inline] 1411 #[must_use] yzyz(self) -> Vec41412 fn yzyz(self) -> Vec4 { 1413 Vec4(simd_swizzle!(self.0, [1, 2, 1, 2])) 1414 } 1415 1416 #[inline] 1417 #[must_use] yzyw(self) -> Vec41418 fn yzyw(self) -> Vec4 { 1419 Vec4(simd_swizzle!(self.0, [1, 2, 1, 3])) 1420 } 1421 1422 #[inline] 1423 #[must_use] yzzx(self) -> Vec41424 fn yzzx(self) -> Vec4 { 1425 Vec4(simd_swizzle!(self.0, [1, 2, 2, 0])) 1426 } 1427 1428 #[inline] 1429 #[must_use] yzzy(self) -> Vec41430 fn yzzy(self) -> Vec4 { 1431 Vec4(simd_swizzle!(self.0, [1, 2, 2, 1])) 1432 } 1433 1434 #[inline] 1435 #[must_use] yzzz(self) -> Vec41436 fn yzzz(self) -> Vec4 { 1437 Vec4(simd_swizzle!(self.0, [1, 2, 2, 2])) 1438 } 1439 1440 #[inline] 1441 #[must_use] yzzw(self) -> Vec41442 fn yzzw(self) -> Vec4 { 1443 Vec4(simd_swizzle!(self.0, [1, 2, 2, 3])) 1444 } 1445 1446 #[inline] 1447 #[must_use] yzwx(self) -> Vec41448 fn yzwx(self) -> Vec4 { 1449 Vec4(simd_swizzle!(self.0, [1, 2, 3, 0])) 1450 } 1451 1452 #[inline] 1453 #[must_use] yzwy(self) -> Vec41454 fn yzwy(self) -> Vec4 { 1455 Vec4(simd_swizzle!(self.0, [1, 2, 3, 1])) 1456 } 1457 1458 #[inline] 1459 #[must_use] yzwz(self) -> Vec41460 fn yzwz(self) -> Vec4 { 1461 Vec4(simd_swizzle!(self.0, [1, 2, 3, 2])) 1462 } 1463 1464 #[inline] 1465 #[must_use] yzww(self) -> Vec41466 fn yzww(self) -> Vec4 { 1467 Vec4(simd_swizzle!(self.0, [1, 2, 3, 3])) 1468 } 1469 1470 #[inline] 1471 #[must_use] ywxx(self) -> Vec41472 fn ywxx(self) -> Vec4 { 1473 Vec4(simd_swizzle!(self.0, [1, 3, 0, 0])) 1474 } 1475 1476 #[inline] 1477 #[must_use] ywxy(self) -> Vec41478 fn ywxy(self) -> Vec4 { 1479 Vec4(simd_swizzle!(self.0, [1, 3, 0, 1])) 1480 } 1481 1482 #[inline] 1483 #[must_use] ywxz(self) -> Vec41484 fn ywxz(self) -> Vec4 { 1485 Vec4(simd_swizzle!(self.0, [1, 3, 0, 2])) 1486 } 1487 1488 #[inline] 1489 #[must_use] ywxw(self) -> Vec41490 fn ywxw(self) -> Vec4 { 1491 Vec4(simd_swizzle!(self.0, [1, 3, 0, 3])) 1492 } 1493 1494 #[inline] 1495 #[must_use] ywyx(self) -> Vec41496 fn ywyx(self) -> Vec4 { 1497 Vec4(simd_swizzle!(self.0, [1, 3, 1, 0])) 1498 } 1499 1500 #[inline] 1501 #[must_use] ywyy(self) -> Vec41502 fn ywyy(self) -> Vec4 { 1503 Vec4(simd_swizzle!(self.0, [1, 3, 1, 1])) 1504 } 1505 1506 #[inline] 1507 #[must_use] ywyz(self) -> Vec41508 fn ywyz(self) -> Vec4 { 1509 Vec4(simd_swizzle!(self.0, [1, 3, 1, 2])) 1510 } 1511 1512 #[inline] 1513 #[must_use] ywyw(self) -> Vec41514 fn ywyw(self) -> Vec4 { 1515 Vec4(simd_swizzle!(self.0, [1, 3, 1, 3])) 1516 } 1517 1518 #[inline] 1519 #[must_use] ywzx(self) -> Vec41520 fn ywzx(self) -> Vec4 { 1521 Vec4(simd_swizzle!(self.0, [1, 3, 2, 0])) 1522 } 1523 1524 #[inline] 1525 #[must_use] ywzy(self) -> Vec41526 fn ywzy(self) -> Vec4 { 1527 Vec4(simd_swizzle!(self.0, [1, 3, 2, 1])) 1528 } 1529 1530 #[inline] 1531 #[must_use] ywzz(self) -> Vec41532 fn ywzz(self) -> Vec4 { 1533 Vec4(simd_swizzle!(self.0, [1, 3, 2, 2])) 1534 } 1535 1536 #[inline] 1537 #[must_use] ywzw(self) -> Vec41538 fn ywzw(self) -> Vec4 { 1539 Vec4(simd_swizzle!(self.0, [1, 3, 2, 3])) 1540 } 1541 1542 #[inline] 1543 #[must_use] ywwx(self) -> Vec41544 fn ywwx(self) -> Vec4 { 1545 Vec4(simd_swizzle!(self.0, [1, 3, 3, 0])) 1546 } 1547 1548 #[inline] 1549 #[must_use] ywwy(self) -> Vec41550 fn ywwy(self) -> Vec4 { 1551 Vec4(simd_swizzle!(self.0, [1, 3, 3, 1])) 1552 } 1553 1554 #[inline] 1555 #[must_use] ywwz(self) -> Vec41556 fn ywwz(self) -> Vec4 { 1557 Vec4(simd_swizzle!(self.0, [1, 3, 3, 2])) 1558 } 1559 1560 #[inline] 1561 #[must_use] ywww(self) -> Vec41562 fn ywww(self) -> Vec4 { 1563 Vec4(simd_swizzle!(self.0, [1, 3, 3, 3])) 1564 } 1565 1566 #[inline] 1567 #[must_use] zxxx(self) -> Vec41568 fn zxxx(self) -> Vec4 { 1569 Vec4(simd_swizzle!(self.0, [2, 0, 0, 0])) 1570 } 1571 1572 #[inline] 1573 #[must_use] zxxy(self) -> Vec41574 fn zxxy(self) -> Vec4 { 1575 Vec4(simd_swizzle!(self.0, [2, 0, 0, 1])) 1576 } 1577 1578 #[inline] 1579 #[must_use] zxxz(self) -> Vec41580 fn zxxz(self) -> Vec4 { 1581 Vec4(simd_swizzle!(self.0, [2, 0, 0, 2])) 1582 } 1583 1584 #[inline] 1585 #[must_use] zxxw(self) -> Vec41586 fn zxxw(self) -> Vec4 { 1587 Vec4(simd_swizzle!(self.0, [2, 0, 0, 3])) 1588 } 1589 1590 #[inline] 1591 #[must_use] zxyx(self) -> Vec41592 fn zxyx(self) -> Vec4 { 1593 Vec4(simd_swizzle!(self.0, [2, 0, 1, 0])) 1594 } 1595 1596 #[inline] 1597 #[must_use] zxyy(self) -> Vec41598 fn zxyy(self) -> Vec4 { 1599 Vec4(simd_swizzle!(self.0, [2, 0, 1, 1])) 1600 } 1601 1602 #[inline] 1603 #[must_use] zxyz(self) -> Vec41604 fn zxyz(self) -> Vec4 { 1605 Vec4(simd_swizzle!(self.0, [2, 0, 1, 2])) 1606 } 1607 1608 #[inline] 1609 #[must_use] zxyw(self) -> Vec41610 fn zxyw(self) -> Vec4 { 1611 Vec4(simd_swizzle!(self.0, [2, 0, 1, 3])) 1612 } 1613 1614 #[inline] 1615 #[must_use] zxzx(self) -> Vec41616 fn zxzx(self) -> Vec4 { 1617 Vec4(simd_swizzle!(self.0, [2, 0, 2, 0])) 1618 } 1619 1620 #[inline] 1621 #[must_use] zxzy(self) -> Vec41622 fn zxzy(self) -> Vec4 { 1623 Vec4(simd_swizzle!(self.0, [2, 0, 2, 1])) 1624 } 1625 1626 #[inline] 1627 #[must_use] zxzz(self) -> Vec41628 fn zxzz(self) -> Vec4 { 1629 Vec4(simd_swizzle!(self.0, [2, 0, 2, 2])) 1630 } 1631 1632 #[inline] 1633 #[must_use] zxzw(self) -> Vec41634 fn zxzw(self) -> Vec4 { 1635 Vec4(simd_swizzle!(self.0, [2, 0, 2, 3])) 1636 } 1637 1638 #[inline] 1639 #[must_use] zxwx(self) -> Vec41640 fn zxwx(self) -> Vec4 { 1641 Vec4(simd_swizzle!(self.0, [2, 0, 3, 0])) 1642 } 1643 1644 #[inline] 1645 #[must_use] zxwy(self) -> Vec41646 fn zxwy(self) -> Vec4 { 1647 Vec4(simd_swizzle!(self.0, [2, 0, 3, 1])) 1648 } 1649 1650 #[inline] 1651 #[must_use] zxwz(self) -> Vec41652 fn zxwz(self) -> Vec4 { 1653 Vec4(simd_swizzle!(self.0, [2, 0, 3, 2])) 1654 } 1655 1656 #[inline] 1657 #[must_use] zxww(self) -> Vec41658 fn zxww(self) -> Vec4 { 1659 Vec4(simd_swizzle!(self.0, [2, 0, 3, 3])) 1660 } 1661 1662 #[inline] 1663 #[must_use] zyxx(self) -> Vec41664 fn zyxx(self) -> Vec4 { 1665 Vec4(simd_swizzle!(self.0, [2, 1, 0, 0])) 1666 } 1667 1668 #[inline] 1669 #[must_use] zyxy(self) -> Vec41670 fn zyxy(self) -> Vec4 { 1671 Vec4(simd_swizzle!(self.0, [2, 1, 0, 1])) 1672 } 1673 1674 #[inline] 1675 #[must_use] zyxz(self) -> Vec41676 fn zyxz(self) -> Vec4 { 1677 Vec4(simd_swizzle!(self.0, [2, 1, 0, 2])) 1678 } 1679 1680 #[inline] 1681 #[must_use] zyxw(self) -> Vec41682 fn zyxw(self) -> Vec4 { 1683 Vec4(simd_swizzle!(self.0, [2, 1, 0, 3])) 1684 } 1685 1686 #[inline] 1687 #[must_use] zyyx(self) -> Vec41688 fn zyyx(self) -> Vec4 { 1689 Vec4(simd_swizzle!(self.0, [2, 1, 1, 0])) 1690 } 1691 1692 #[inline] 1693 #[must_use] zyyy(self) -> Vec41694 fn zyyy(self) -> Vec4 { 1695 Vec4(simd_swizzle!(self.0, [2, 1, 1, 1])) 1696 } 1697 1698 #[inline] 1699 #[must_use] zyyz(self) -> Vec41700 fn zyyz(self) -> Vec4 { 1701 Vec4(simd_swizzle!(self.0, [2, 1, 1, 2])) 1702 } 1703 1704 #[inline] 1705 #[must_use] zyyw(self) -> Vec41706 fn zyyw(self) -> Vec4 { 1707 Vec4(simd_swizzle!(self.0, [2, 1, 1, 3])) 1708 } 1709 1710 #[inline] 1711 #[must_use] zyzx(self) -> Vec41712 fn zyzx(self) -> Vec4 { 1713 Vec4(simd_swizzle!(self.0, [2, 1, 2, 0])) 1714 } 1715 1716 #[inline] 1717 #[must_use] zyzy(self) -> Vec41718 fn zyzy(self) -> Vec4 { 1719 Vec4(simd_swizzle!(self.0, [2, 1, 2, 1])) 1720 } 1721 1722 #[inline] 1723 #[must_use] zyzz(self) -> Vec41724 fn zyzz(self) -> Vec4 { 1725 Vec4(simd_swizzle!(self.0, [2, 1, 2, 2])) 1726 } 1727 1728 #[inline] 1729 #[must_use] zyzw(self) -> Vec41730 fn zyzw(self) -> Vec4 { 1731 Vec4(simd_swizzle!(self.0, [2, 1, 2, 3])) 1732 } 1733 1734 #[inline] 1735 #[must_use] zywx(self) -> Vec41736 fn zywx(self) -> Vec4 { 1737 Vec4(simd_swizzle!(self.0, [2, 1, 3, 0])) 1738 } 1739 1740 #[inline] 1741 #[must_use] zywy(self) -> Vec41742 fn zywy(self) -> Vec4 { 1743 Vec4(simd_swizzle!(self.0, [2, 1, 3, 1])) 1744 } 1745 1746 #[inline] 1747 #[must_use] zywz(self) -> Vec41748 fn zywz(self) -> Vec4 { 1749 Vec4(simd_swizzle!(self.0, [2, 1, 3, 2])) 1750 } 1751 1752 #[inline] 1753 #[must_use] zyww(self) -> Vec41754 fn zyww(self) -> Vec4 { 1755 Vec4(simd_swizzle!(self.0, [2, 1, 3, 3])) 1756 } 1757 1758 #[inline] 1759 #[must_use] zzxx(self) -> Vec41760 fn zzxx(self) -> Vec4 { 1761 Vec4(simd_swizzle!(self.0, [2, 2, 0, 0])) 1762 } 1763 1764 #[inline] 1765 #[must_use] zzxy(self) -> Vec41766 fn zzxy(self) -> Vec4 { 1767 Vec4(simd_swizzle!(self.0, [2, 2, 0, 1])) 1768 } 1769 1770 #[inline] 1771 #[must_use] zzxz(self) -> Vec41772 fn zzxz(self) -> Vec4 { 1773 Vec4(simd_swizzle!(self.0, [2, 2, 0, 2])) 1774 } 1775 1776 #[inline] 1777 #[must_use] zzxw(self) -> Vec41778 fn zzxw(self) -> Vec4 { 1779 Vec4(simd_swizzle!(self.0, [2, 2, 0, 3])) 1780 } 1781 1782 #[inline] 1783 #[must_use] zzyx(self) -> Vec41784 fn zzyx(self) -> Vec4 { 1785 Vec4(simd_swizzle!(self.0, [2, 2, 1, 0])) 1786 } 1787 1788 #[inline] 1789 #[must_use] zzyy(self) -> Vec41790 fn zzyy(self) -> Vec4 { 1791 Vec4(simd_swizzle!(self.0, [2, 2, 1, 1])) 1792 } 1793 1794 #[inline] 1795 #[must_use] zzyz(self) -> Vec41796 fn zzyz(self) -> Vec4 { 1797 Vec4(simd_swizzle!(self.0, [2, 2, 1, 2])) 1798 } 1799 1800 #[inline] 1801 #[must_use] zzyw(self) -> Vec41802 fn zzyw(self) -> Vec4 { 1803 Vec4(simd_swizzle!(self.0, [2, 2, 1, 3])) 1804 } 1805 1806 #[inline] 1807 #[must_use] zzzx(self) -> Vec41808 fn zzzx(self) -> Vec4 { 1809 Vec4(simd_swizzle!(self.0, [2, 2, 2, 0])) 1810 } 1811 1812 #[inline] 1813 #[must_use] zzzy(self) -> Vec41814 fn zzzy(self) -> Vec4 { 1815 Vec4(simd_swizzle!(self.0, [2, 2, 2, 1])) 1816 } 1817 1818 #[inline] 1819 #[must_use] zzzz(self) -> Vec41820 fn zzzz(self) -> Vec4 { 1821 Vec4(simd_swizzle!(self.0, [2, 2, 2, 2])) 1822 } 1823 1824 #[inline] 1825 #[must_use] zzzw(self) -> Vec41826 fn zzzw(self) -> Vec4 { 1827 Vec4(simd_swizzle!(self.0, [2, 2, 2, 3])) 1828 } 1829 1830 #[inline] 1831 #[must_use] zzwx(self) -> Vec41832 fn zzwx(self) -> Vec4 { 1833 Vec4(simd_swizzle!(self.0, [2, 2, 3, 0])) 1834 } 1835 1836 #[inline] 1837 #[must_use] zzwy(self) -> Vec41838 fn zzwy(self) -> Vec4 { 1839 Vec4(simd_swizzle!(self.0, [2, 2, 3, 1])) 1840 } 1841 1842 #[inline] 1843 #[must_use] zzwz(self) -> Vec41844 fn zzwz(self) -> Vec4 { 1845 Vec4(simd_swizzle!(self.0, [2, 2, 3, 2])) 1846 } 1847 1848 #[inline] 1849 #[must_use] zzww(self) -> Vec41850 fn zzww(self) -> Vec4 { 1851 Vec4(simd_swizzle!(self.0, [2, 2, 3, 3])) 1852 } 1853 1854 #[inline] 1855 #[must_use] zwxx(self) -> Vec41856 fn zwxx(self) -> Vec4 { 1857 Vec4(simd_swizzle!(self.0, [2, 3, 0, 0])) 1858 } 1859 1860 #[inline] 1861 #[must_use] zwxy(self) -> Vec41862 fn zwxy(self) -> Vec4 { 1863 Vec4(simd_swizzle!(self.0, [2, 3, 0, 1])) 1864 } 1865 1866 #[inline] 1867 #[must_use] zwxz(self) -> Vec41868 fn zwxz(self) -> Vec4 { 1869 Vec4(simd_swizzle!(self.0, [2, 3, 0, 2])) 1870 } 1871 1872 #[inline] 1873 #[must_use] zwxw(self) -> Vec41874 fn zwxw(self) -> Vec4 { 1875 Vec4(simd_swizzle!(self.0, [2, 3, 0, 3])) 1876 } 1877 1878 #[inline] 1879 #[must_use] zwyx(self) -> Vec41880 fn zwyx(self) -> Vec4 { 1881 Vec4(simd_swizzle!(self.0, [2, 3, 1, 0])) 1882 } 1883 1884 #[inline] 1885 #[must_use] zwyy(self) -> Vec41886 fn zwyy(self) -> Vec4 { 1887 Vec4(simd_swizzle!(self.0, [2, 3, 1, 1])) 1888 } 1889 1890 #[inline] 1891 #[must_use] zwyz(self) -> Vec41892 fn zwyz(self) -> Vec4 { 1893 Vec4(simd_swizzle!(self.0, [2, 3, 1, 2])) 1894 } 1895 1896 #[inline] 1897 #[must_use] zwyw(self) -> Vec41898 fn zwyw(self) -> Vec4 { 1899 Vec4(simd_swizzle!(self.0, [2, 3, 1, 3])) 1900 } 1901 1902 #[inline] 1903 #[must_use] zwzx(self) -> Vec41904 fn zwzx(self) -> Vec4 { 1905 Vec4(simd_swizzle!(self.0, [2, 3, 2, 0])) 1906 } 1907 1908 #[inline] 1909 #[must_use] zwzy(self) -> Vec41910 fn zwzy(self) -> Vec4 { 1911 Vec4(simd_swizzle!(self.0, [2, 3, 2, 1])) 1912 } 1913 1914 #[inline] 1915 #[must_use] zwzz(self) -> Vec41916 fn zwzz(self) -> Vec4 { 1917 Vec4(simd_swizzle!(self.0, [2, 3, 2, 2])) 1918 } 1919 1920 #[inline] 1921 #[must_use] zwzw(self) -> Vec41922 fn zwzw(self) -> Vec4 { 1923 Vec4(simd_swizzle!(self.0, [2, 3, 2, 3])) 1924 } 1925 1926 #[inline] 1927 #[must_use] zwwx(self) -> Vec41928 fn zwwx(self) -> Vec4 { 1929 Vec4(simd_swizzle!(self.0, [2, 3, 3, 0])) 1930 } 1931 1932 #[inline] 1933 #[must_use] zwwy(self) -> Vec41934 fn zwwy(self) -> Vec4 { 1935 Vec4(simd_swizzle!(self.0, [2, 3, 3, 1])) 1936 } 1937 1938 #[inline] 1939 #[must_use] zwwz(self) -> Vec41940 fn zwwz(self) -> Vec4 { 1941 Vec4(simd_swizzle!(self.0, [2, 3, 3, 2])) 1942 } 1943 1944 #[inline] 1945 #[must_use] zwww(self) -> Vec41946 fn zwww(self) -> Vec4 { 1947 Vec4(simd_swizzle!(self.0, [2, 3, 3, 3])) 1948 } 1949 1950 #[inline] 1951 #[must_use] wxxx(self) -> Vec41952 fn wxxx(self) -> Vec4 { 1953 Vec4(simd_swizzle!(self.0, [3, 0, 0, 0])) 1954 } 1955 1956 #[inline] 1957 #[must_use] wxxy(self) -> Vec41958 fn wxxy(self) -> Vec4 { 1959 Vec4(simd_swizzle!(self.0, [3, 0, 0, 1])) 1960 } 1961 1962 #[inline] 1963 #[must_use] wxxz(self) -> Vec41964 fn wxxz(self) -> Vec4 { 1965 Vec4(simd_swizzle!(self.0, [3, 0, 0, 2])) 1966 } 1967 1968 #[inline] 1969 #[must_use] wxxw(self) -> Vec41970 fn wxxw(self) -> Vec4 { 1971 Vec4(simd_swizzle!(self.0, [3, 0, 0, 3])) 1972 } 1973 1974 #[inline] 1975 #[must_use] wxyx(self) -> Vec41976 fn wxyx(self) -> Vec4 { 1977 Vec4(simd_swizzle!(self.0, [3, 0, 1, 0])) 1978 } 1979 1980 #[inline] 1981 #[must_use] wxyy(self) -> Vec41982 fn wxyy(self) -> Vec4 { 1983 Vec4(simd_swizzle!(self.0, [3, 0, 1, 1])) 1984 } 1985 1986 #[inline] 1987 #[must_use] wxyz(self) -> Vec41988 fn wxyz(self) -> Vec4 { 1989 Vec4(simd_swizzle!(self.0, [3, 0, 1, 2])) 1990 } 1991 1992 #[inline] 1993 #[must_use] wxyw(self) -> Vec41994 fn wxyw(self) -> Vec4 { 1995 Vec4(simd_swizzle!(self.0, [3, 0, 1, 3])) 1996 } 1997 1998 #[inline] 1999 #[must_use] wxzx(self) -> Vec42000 fn wxzx(self) -> Vec4 { 2001 Vec4(simd_swizzle!(self.0, [3, 0, 2, 0])) 2002 } 2003 2004 #[inline] 2005 #[must_use] wxzy(self) -> Vec42006 fn wxzy(self) -> Vec4 { 2007 Vec4(simd_swizzle!(self.0, [3, 0, 2, 1])) 2008 } 2009 2010 #[inline] 2011 #[must_use] wxzz(self) -> Vec42012 fn wxzz(self) -> Vec4 { 2013 Vec4(simd_swizzle!(self.0, [3, 0, 2, 2])) 2014 } 2015 2016 #[inline] 2017 #[must_use] wxzw(self) -> Vec42018 fn wxzw(self) -> Vec4 { 2019 Vec4(simd_swizzle!(self.0, [3, 0, 2, 3])) 2020 } 2021 2022 #[inline] 2023 #[must_use] wxwx(self) -> Vec42024 fn wxwx(self) -> Vec4 { 2025 Vec4(simd_swizzle!(self.0, [3, 0, 3, 0])) 2026 } 2027 2028 #[inline] 2029 #[must_use] wxwy(self) -> Vec42030 fn wxwy(self) -> Vec4 { 2031 Vec4(simd_swizzle!(self.0, [3, 0, 3, 1])) 2032 } 2033 2034 #[inline] 2035 #[must_use] wxwz(self) -> Vec42036 fn wxwz(self) -> Vec4 { 2037 Vec4(simd_swizzle!(self.0, [3, 0, 3, 2])) 2038 } 2039 2040 #[inline] 2041 #[must_use] wxww(self) -> Vec42042 fn wxww(self) -> Vec4 { 2043 Vec4(simd_swizzle!(self.0, [3, 0, 3, 3])) 2044 } 2045 2046 #[inline] 2047 #[must_use] wyxx(self) -> Vec42048 fn wyxx(self) -> Vec4 { 2049 Vec4(simd_swizzle!(self.0, [3, 1, 0, 0])) 2050 } 2051 2052 #[inline] 2053 #[must_use] wyxy(self) -> Vec42054 fn wyxy(self) -> Vec4 { 2055 Vec4(simd_swizzle!(self.0, [3, 1, 0, 1])) 2056 } 2057 2058 #[inline] 2059 #[must_use] wyxz(self) -> Vec42060 fn wyxz(self) -> Vec4 { 2061 Vec4(simd_swizzle!(self.0, [3, 1, 0, 2])) 2062 } 2063 2064 #[inline] 2065 #[must_use] wyxw(self) -> Vec42066 fn wyxw(self) -> Vec4 { 2067 Vec4(simd_swizzle!(self.0, [3, 1, 0, 3])) 2068 } 2069 2070 #[inline] 2071 #[must_use] wyyx(self) -> Vec42072 fn wyyx(self) -> Vec4 { 2073 Vec4(simd_swizzle!(self.0, [3, 1, 1, 0])) 2074 } 2075 2076 #[inline] 2077 #[must_use] wyyy(self) -> Vec42078 fn wyyy(self) -> Vec4 { 2079 Vec4(simd_swizzle!(self.0, [3, 1, 1, 1])) 2080 } 2081 2082 #[inline] 2083 #[must_use] wyyz(self) -> Vec42084 fn wyyz(self) -> Vec4 { 2085 Vec4(simd_swizzle!(self.0, [3, 1, 1, 2])) 2086 } 2087 2088 #[inline] 2089 #[must_use] wyyw(self) -> Vec42090 fn wyyw(self) -> Vec4 { 2091 Vec4(simd_swizzle!(self.0, [3, 1, 1, 3])) 2092 } 2093 2094 #[inline] 2095 #[must_use] wyzx(self) -> Vec42096 fn wyzx(self) -> Vec4 { 2097 Vec4(simd_swizzle!(self.0, [3, 1, 2, 0])) 2098 } 2099 2100 #[inline] 2101 #[must_use] wyzy(self) -> Vec42102 fn wyzy(self) -> Vec4 { 2103 Vec4(simd_swizzle!(self.0, [3, 1, 2, 1])) 2104 } 2105 2106 #[inline] 2107 #[must_use] wyzz(self) -> Vec42108 fn wyzz(self) -> Vec4 { 2109 Vec4(simd_swizzle!(self.0, [3, 1, 2, 2])) 2110 } 2111 2112 #[inline] 2113 #[must_use] wyzw(self) -> Vec42114 fn wyzw(self) -> Vec4 { 2115 Vec4(simd_swizzle!(self.0, [3, 1, 2, 3])) 2116 } 2117 2118 #[inline] 2119 #[must_use] wywx(self) -> Vec42120 fn wywx(self) -> Vec4 { 2121 Vec4(simd_swizzle!(self.0, [3, 1, 3, 0])) 2122 } 2123 2124 #[inline] 2125 #[must_use] wywy(self) -> Vec42126 fn wywy(self) -> Vec4 { 2127 Vec4(simd_swizzle!(self.0, [3, 1, 3, 1])) 2128 } 2129 2130 #[inline] 2131 #[must_use] wywz(self) -> Vec42132 fn wywz(self) -> Vec4 { 2133 Vec4(simd_swizzle!(self.0, [3, 1, 3, 2])) 2134 } 2135 2136 #[inline] 2137 #[must_use] wyww(self) -> Vec42138 fn wyww(self) -> Vec4 { 2139 Vec4(simd_swizzle!(self.0, [3, 1, 3, 3])) 2140 } 2141 2142 #[inline] 2143 #[must_use] wzxx(self) -> Vec42144 fn wzxx(self) -> Vec4 { 2145 Vec4(simd_swizzle!(self.0, [3, 2, 0, 0])) 2146 } 2147 2148 #[inline] 2149 #[must_use] wzxy(self) -> Vec42150 fn wzxy(self) -> Vec4 { 2151 Vec4(simd_swizzle!(self.0, [3, 2, 0, 1])) 2152 } 2153 2154 #[inline] 2155 #[must_use] wzxz(self) -> Vec42156 fn wzxz(self) -> Vec4 { 2157 Vec4(simd_swizzle!(self.0, [3, 2, 0, 2])) 2158 } 2159 2160 #[inline] 2161 #[must_use] wzxw(self) -> Vec42162 fn wzxw(self) -> Vec4 { 2163 Vec4(simd_swizzle!(self.0, [3, 2, 0, 3])) 2164 } 2165 2166 #[inline] 2167 #[must_use] wzyx(self) -> Vec42168 fn wzyx(self) -> Vec4 { 2169 Vec4(simd_swizzle!(self.0, [3, 2, 1, 0])) 2170 } 2171 2172 #[inline] 2173 #[must_use] wzyy(self) -> Vec42174 fn wzyy(self) -> Vec4 { 2175 Vec4(simd_swizzle!(self.0, [3, 2, 1, 1])) 2176 } 2177 2178 #[inline] 2179 #[must_use] wzyz(self) -> Vec42180 fn wzyz(self) -> Vec4 { 2181 Vec4(simd_swizzle!(self.0, [3, 2, 1, 2])) 2182 } 2183 2184 #[inline] 2185 #[must_use] wzyw(self) -> Vec42186 fn wzyw(self) -> Vec4 { 2187 Vec4(simd_swizzle!(self.0, [3, 2, 1, 3])) 2188 } 2189 2190 #[inline] 2191 #[must_use] wzzx(self) -> Vec42192 fn wzzx(self) -> Vec4 { 2193 Vec4(simd_swizzle!(self.0, [3, 2, 2, 0])) 2194 } 2195 2196 #[inline] 2197 #[must_use] wzzy(self) -> Vec42198 fn wzzy(self) -> Vec4 { 2199 Vec4(simd_swizzle!(self.0, [3, 2, 2, 1])) 2200 } 2201 2202 #[inline] 2203 #[must_use] wzzz(self) -> Vec42204 fn wzzz(self) -> Vec4 { 2205 Vec4(simd_swizzle!(self.0, [3, 2, 2, 2])) 2206 } 2207 2208 #[inline] 2209 #[must_use] wzzw(self) -> Vec42210 fn wzzw(self) -> Vec4 { 2211 Vec4(simd_swizzle!(self.0, [3, 2, 2, 3])) 2212 } 2213 2214 #[inline] 2215 #[must_use] wzwx(self) -> Vec42216 fn wzwx(self) -> Vec4 { 2217 Vec4(simd_swizzle!(self.0, [3, 2, 3, 0])) 2218 } 2219 2220 #[inline] 2221 #[must_use] wzwy(self) -> Vec42222 fn wzwy(self) -> Vec4 { 2223 Vec4(simd_swizzle!(self.0, [3, 2, 3, 1])) 2224 } 2225 2226 #[inline] 2227 #[must_use] wzwz(self) -> Vec42228 fn wzwz(self) -> Vec4 { 2229 Vec4(simd_swizzle!(self.0, [3, 2, 3, 2])) 2230 } 2231 2232 #[inline] 2233 #[must_use] wzww(self) -> Vec42234 fn wzww(self) -> Vec4 { 2235 Vec4(simd_swizzle!(self.0, [3, 2, 3, 3])) 2236 } 2237 2238 #[inline] 2239 #[must_use] wwxx(self) -> Vec42240 fn wwxx(self) -> Vec4 { 2241 Vec4(simd_swizzle!(self.0, [3, 3, 0, 0])) 2242 } 2243 2244 #[inline] 2245 #[must_use] wwxy(self) -> Vec42246 fn wwxy(self) -> Vec4 { 2247 Vec4(simd_swizzle!(self.0, [3, 3, 0, 1])) 2248 } 2249 2250 #[inline] 2251 #[must_use] wwxz(self) -> Vec42252 fn wwxz(self) -> Vec4 { 2253 Vec4(simd_swizzle!(self.0, [3, 3, 0, 2])) 2254 } 2255 2256 #[inline] 2257 #[must_use] wwxw(self) -> Vec42258 fn wwxw(self) -> Vec4 { 2259 Vec4(simd_swizzle!(self.0, [3, 3, 0, 3])) 2260 } 2261 2262 #[inline] 2263 #[must_use] wwyx(self) -> Vec42264 fn wwyx(self) -> Vec4 { 2265 Vec4(simd_swizzle!(self.0, [3, 3, 1, 0])) 2266 } 2267 2268 #[inline] 2269 #[must_use] wwyy(self) -> Vec42270 fn wwyy(self) -> Vec4 { 2271 Vec4(simd_swizzle!(self.0, [3, 3, 1, 1])) 2272 } 2273 2274 #[inline] 2275 #[must_use] wwyz(self) -> Vec42276 fn wwyz(self) -> Vec4 { 2277 Vec4(simd_swizzle!(self.0, [3, 3, 1, 2])) 2278 } 2279 2280 #[inline] 2281 #[must_use] wwyw(self) -> Vec42282 fn wwyw(self) -> Vec4 { 2283 Vec4(simd_swizzle!(self.0, [3, 3, 1, 3])) 2284 } 2285 2286 #[inline] 2287 #[must_use] wwzx(self) -> Vec42288 fn wwzx(self) -> Vec4 { 2289 Vec4(simd_swizzle!(self.0, [3, 3, 2, 0])) 2290 } 2291 2292 #[inline] 2293 #[must_use] wwzy(self) -> Vec42294 fn wwzy(self) -> Vec4 { 2295 Vec4(simd_swizzle!(self.0, [3, 3, 2, 1])) 2296 } 2297 2298 #[inline] 2299 #[must_use] wwzz(self) -> Vec42300 fn wwzz(self) -> Vec4 { 2301 Vec4(simd_swizzle!(self.0, [3, 3, 2, 2])) 2302 } 2303 2304 #[inline] 2305 #[must_use] wwzw(self) -> Vec42306 fn wwzw(self) -> Vec4 { 2307 Vec4(simd_swizzle!(self.0, [3, 3, 2, 3])) 2308 } 2309 2310 #[inline] 2311 #[must_use] wwwx(self) -> Vec42312 fn wwwx(self) -> Vec4 { 2313 Vec4(simd_swizzle!(self.0, [3, 3, 3, 0])) 2314 } 2315 2316 #[inline] 2317 #[must_use] wwwy(self) -> Vec42318 fn wwwy(self) -> Vec4 { 2319 Vec4(simd_swizzle!(self.0, [3, 3, 3, 1])) 2320 } 2321 2322 #[inline] 2323 #[must_use] wwwz(self) -> Vec42324 fn wwwz(self) -> Vec4 { 2325 Vec4(simd_swizzle!(self.0, [3, 3, 3, 2])) 2326 } 2327 2328 #[inline] 2329 #[must_use] wwww(self) -> Vec42330 fn wwww(self) -> Vec4 { 2331 Vec4(simd_swizzle!(self.0, [3, 3, 3, 3])) 2332 } 2333 } 2334