Debian Codegraph @

debian/missing-sources/glam-0.23.0/src/u32/uvec2.rs

raw symbols SCIP
1 // Generated from vec.rs.tera template. Edit the template, not the generated file.
2
3 use craterust-analyzer cargo glam 0.23.0 crate/::{BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#, UVec3rust-analyzer cargo glam 0.23.0 u32/uvec3/UVec3#};
4
5 #[cfg(not(target_arch = "spirv"))]
6 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/;
7 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/::{Productrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Product#, Sumrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Sum#};
8 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::{f32rust-analyzer cargo core https://github.com/rust-lang/rust/library/core f32/, opsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/::*};
9
10 /// Creates a 2-dimensional vector.
11 #[inline(always)]
12 pub const fn uvec2rust-analyzer cargo glam 0.23.0 u32/uvec2/uvec2().(x: u32, y: u32) -> UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
13 UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(x, y)
14 }
15
16 /// A 2-dimensional vector.
17 #[cfg_attr(not(target_arch = "spirv"), derive(Hashrust-analyzer cargo core https://github.com/rust-lang/rust/library/core hash/macros/Hash:))]
18 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
19 #[cfg_attr(feature = "cuda", repr(align(8)))]
20 #[cfg_attr(not(target_arch = "spirv"), repr(C))]
21 #[cfg_attr(target_arch = "spirv", repr(simd))]
22 pub struct UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
23 pub xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: u32,
24 pub yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: u32,
25 }
26
27 impl UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
28 /// All zeroes.
29 pub const ZEROrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ZERO.: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::splatrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]splat().(0);
30
31 /// All ones.
32 pub const ONErust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ONE.: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::splatrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]splat().(1);
33
34 /// A unit-length vector pointing along the positive X axis.
35 pub const Xrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]X.: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(1, 0);
36
37 /// A unit-length vector pointing along the positive Y axis.
38 pub const Yrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]Y.: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(0, 1);
39
40 /// The unit axes.
41 pub const AXESrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]AXES.: [Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]; 2] = [Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::Xrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]X., Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::Yrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]Y.];
42
43 /// Creates a new vector.
44 #[inline(always)]
45 pub const fn newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(x: u32, y: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
46 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] { xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x., yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. }
47 }
48
49 /// Creates a vector with all elements set to `v`.
50 #[inline]
51 pub const fn splatrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]splat().(v: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
52 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] { xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: v, yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: v }
53 }
54
55 /// Creates a vector from the elements in `if_true` and `if_false`, selecting which to use
56 /// for each element of `self`.
57 ///
58 /// A true element in the mask uses the corresponding element from `if_true`, and false
59 /// uses the element from `if_false`.
60 #[inline]
61 pub fn selectrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]select().(mask: BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#, if_true: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2], if_false: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
62 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
63 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: if mask.xrust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#x. { if_true.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x. } else { if_false.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x. },
64 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: if mask.yrust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#y. { if_true.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. } else { if_false.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. },
65 }
66 }
67
68 /// Creates a new vector from an array.
69 #[inline]
70 pub const fn from_arrayrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]from_array().(a: [u32; 2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
71 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(a[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index()., a[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().)
72 }
73
74 /// `[x, y]`
75 #[inline]
76 pub const fn to_arrayrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]to_array().(&self) -> [u32; 2] {
77 [self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x., self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.]
78 }
79
80 /// Creates a vector from the first 2 values in `slice`.
81 ///
82 /// # Panics
83 ///
84 /// Panics if `slice` is less than 2 elements long.
85 #[inline]
86 pub const fn from_slicerust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]from_slice().(slice: &[u32]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
87 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(slice[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., slice[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)
88 }
89
90 /// Writes the elements of `self` to the first 2 elements in `slice`.
91 ///
92 /// # Panics
93 ///
94 /// Panics if `slice` is less than 2 elements long.
95 #[inline]
96 pub fn write_to_slicerust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]write_to_slice().(self, slice: &mut [u32]) {
97 slice[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.;
98 slice[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.;
99 }
100
101 /// Creates a 3D vector from `self` and the given `z` value.
102 #[inline]
103 pub const fn extendrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]extend().(self, z: u32) -> UVec3rust-analyzer cargo glam 0.23.0 u32/uvec3/UVec3# {
104 UVec3rust-analyzer cargo glam 0.23.0 u32/uvec3/UVec3#::newrust-analyzer cargo glam 0.23.0 u32/uvec3/impl#[UVec3]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x., self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y., z)
105 }
106
107 /// Computes the dot product of `self` and `rhs`.
108 #[inline]
109 pub fn dotrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]dot().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> u32 {
110 (self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.)
111 }
112
113 /// Returns a vector where every component is the dot product of `self` and `rhs`.
114 #[inline]
115 pub fn dot_into_vecrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]dot_into_vec().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
116 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]::splatrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]splat().(self.dotrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]dot().(rhs))
117 }
118
119 /// Returns a vector containing the minimum values for each element of `self` and `rhs`.
120 ///
121 /// In other words this computes `[self.x.min(rhs.x), self.y.min(rhs.y), ..]`.
122 #[inline]
123 pub fn minrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]min().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
124 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
125 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
126 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
127 }
128 }
129
130 /// Returns a vector containing the maximum values for each element of `self` and `rhs`.
131 ///
132 /// In other words this computes `[self.x.max(rhs.x), self.y.max(rhs.y), ..]`.
133 #[inline]
134 pub fn maxrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]max().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
135 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
136 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
137 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
138 }
139 }
140
141 /// Component-wise clamping of values, similar to [`u32::clamp`].
142 ///
143 /// Each element in `min` must be less-or-equal to the corresponding element in `max`.
144 ///
145 /// # Panics
146 ///
147 /// Will panic if `min` is greater than `max` when `glam_assert` is enabled.
148 #[inline]
149 pub fn clamprust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]clamp().(self, min: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2], max: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2] {
150 glam_assertrust-analyzer cargo glam 0.23.0 macros/glam_assert!!(min.cmple(max).all(), "clamp: expected min <= max");
151 self.maxrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]max().(min).minrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]min().(max)
152 }
153
154 /// Returns the horizontal minimum of `self`.
155 ///
156 /// In other words this computes `min(x, y, ..)`.
157 #[inline]
158 pub fn min_elementrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]min_element().(self) -> u32 {
159 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.)
160 }
161
162 /// Returns the horizontal maximum of `self`.
163 ///
164 /// In other words this computes `max(x, y, ..)`.
165 #[inline]
166 pub fn max_elementrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]max_element().(self) -> u32 {
167 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.)
168 }
169
170 /// Returns a vector mask containing the result of a `==` comparison for each element of
171 /// `self` and `rhs`.
172 ///
173 /// In other words, this computes `[self.x == rhs.x, self.y == rhs.y, ..]` for all
174 /// elements.
175 #[inline]
176 pub fn cmpeqrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]cmpeq().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2# {
177 BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.23.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().(&rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.), self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().(&rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.))
178 }
179
180 /// Returns a vector mask containing the result of a `!=` comparison for each element of
181 /// `self` and `rhs`.
182 ///
183 /// In other words this computes `[self.x != rhs.x, self.y != rhs.y, ..]` for all
184 /// elements.
185 #[inline]
186 pub fn cmpnerust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]cmpne().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2# {
187 BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.23.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..nerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]ne().(&rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.), self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..nerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]ne().(&rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.))
188 }
189
190 /// Returns a vector mask containing the result of a `>=` comparison for each element of
191 /// `self` and `rhs`.
192 ///
193 /// In other words this computes `[self.x >= rhs.x, self.y >= rhs.y, ..]` for all
194 /// elements.
195 #[inline]
196 pub fn cmpgerust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]cmpge().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2# {
197 BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.23.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..gerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().(&rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.), self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..gerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().(&rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.))
198 }
199
200 /// Returns a vector mask containing the result of a `>` comparison for each element of
201 /// `self` and `rhs`.
202 ///
203 /// In other words this computes `[self.x > rhs.x, self.y > rhs.y, ..]` for all
204 /// elements.
205 #[inline]
206 pub fn cmpgtrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]cmpgt().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2# {
207 BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.23.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..gtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]gt().(&rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.), self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..gtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]gt().(&rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.))
208 }
209
210 /// Returns a vector mask containing the result of a `<=` comparison for each element of
211 /// `self` and `rhs`.
212 ///
213 /// In other words this computes `[self.x <= rhs.x, self.y <= rhs.y, ..]` for all
214 /// elements.
215 #[inline]
216 pub fn cmplerust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]cmple().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2# {
217 BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.23.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..lerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().(&rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.), self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..lerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().(&rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.))
218 }
219
220 /// Returns a vector mask containing the result of a `<` comparison for each element of
221 /// `self` and `rhs`.
222 ///
223 /// In other words this computes `[self.x < rhs.x, self.y < rhs.y, ..]` for all
224 /// elements.
225 #[inline]
226 pub fn cmpltrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]cmplt().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]) -> BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2# {
227 BVec2rust-analyzer cargo glam 0.23.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.23.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..ltrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]lt().(&rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.), self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..ltrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]lt().(&rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.))
228 }
229
230 /// Casts all elements of `self` to `f32`.
231 #[inline]
232 pub fn as_vec2rust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]as_vec2().(&self) -> craterust-analyzer cargo glam 0.23.0 crate/::Vec2rust-analyzer cargo glam 0.23.0 f32/vec2/Vec2# {
233 craterust-analyzer cargo glam 0.23.0 crate/::Vec2rust-analyzer cargo glam 0.23.0 f32/vec2/Vec2#::newrust-analyzer cargo glam 0.23.0 f32/vec2/impl#[Vec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x. as f32, self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. as f32)
234 }
235
236 /// Casts all elements of `self` to `f64`.
237 #[inline]
238 pub fn as_dvec2rust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]as_dvec2().(&self) -> craterust-analyzer cargo glam 0.23.0 crate/::DVec2rust-analyzer cargo glam 0.23.0 f64/dvec2/DVec2# {
239 craterust-analyzer cargo glam 0.23.0 crate/::DVec2rust-analyzer cargo glam 0.23.0 f64/dvec2/DVec2#::newrust-analyzer cargo glam 0.23.0 f64/dvec2/impl#[DVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x. as f64, self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. as f64)
240 }
241
242 /// Casts all elements of `self` to `i32`.
243 #[inline]
244 pub fn as_ivec2rust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]as_ivec2().(&self) -> craterust-analyzer cargo glam 0.23.0 crate/::IVec2rust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2# {
245 craterust-analyzer cargo glam 0.23.0 crate/::IVec2rust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#::newrust-analyzer cargo glam 0.23.0 i32/ivec2/impl#[IVec2]new().(self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x. as i32, self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y. as i32)
246 }
247 }
248
249 impl Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
250 #[inline(always)]
251 fn defaultrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Default]default().() -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Default] {
252 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Default]::ZEROrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ZERO.
253 }
254 }
255
256 impl Divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Div#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
257 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<Self>`];
258 #[inline]
259 fn divrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<Self>`]div().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<Self>`] {
260 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<Self>`] {
261 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
262 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
263 }
264 }
265 }
266
267 impl DivAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/DivAssign#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
268 #[inline]
269 fn div_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`DivAssign<Self>`]div_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`DivAssign<Self>`]) {
270 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`DivAssign<Self>`]div_assign().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.);
271 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`DivAssign<Self>`]div_assign().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.);
272 }
273 }
274
275 impl Divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Div#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
276 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<u32>`];
277 #[inline]
278 fn divrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<u32>`]div().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<u32>`] {
279 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Div<u32>`] {
280 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().(rhs),
281 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().(rhs),
282 }
283 }
284 }
285
286 impl DivAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/DivAssign#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
287 #[inline]
288 fn div_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`DivAssign<u32>`]div_assign().(&mut self, rhs: u32) {
289 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`DivAssign<Self>`]div_assign().(rhs);
290 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`DivAssign<Self>`]div_assign().(rhs);
291 }
292 }
293
294 impl Divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Div#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for u32 {
295 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Div<UVec2>`]Output# = UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#;
296 #[inline]
297 fn divrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Div<UVec2>`]div().(self, rhs: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
298 UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
299 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
300 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
301 }
302 }
303 }
304
305 impl Mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Mul#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
306 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`];
307 #[inline]
308 fn mulrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`]mul().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`] {
309 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`] {
310 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
311 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
312 }
313 }
314 }
315
316 impl MulAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/MulAssign#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
317 #[inline]
318 fn mul_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`MulAssign<Self>`]mul_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`MulAssign<Self>`]) {
319 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`MulAssign<Self>`]mul_assign().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.);
320 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`MulAssign<Self>`]mul_assign().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.);
321 }
322 }
323
324 impl Mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Mul#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
325 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<u32>`];
326 #[inline]
327 fn mulrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<u32>`]mul().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<u32>`] {
328 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<u32>`] {
329 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(rhs),
330 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(rhs),
331 }
332 }
333 }
334
335 impl MulAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/MulAssign#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
336 #[inline]
337 fn mul_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`MulAssign<u32>`]mul_assign().(&mut self, rhs: u32) {
338 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`MulAssign<Self>`]mul_assign().(rhs);
339 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`MulAssign<Self>`]mul_assign().(rhs);
340 }
341 }
342
343 impl Mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Mul#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for u32 {
344 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Mul<UVec2>`]Output# = UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#;
345 #[inline]
346 fn mulrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Mul<UVec2>`]mul().(self, rhs: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
347 UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
348 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
349 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
350 }
351 }
352 }
353
354 impl Addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Add#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
355 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`];
356 #[inline]
357 fn addrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`]add().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`] {
358 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`] {
359 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
360 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
361 }
362 }
363 }
364
365 impl AddAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/AddAssign#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
366 #[inline]
367 fn add_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`AddAssign<Self>`]add_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`AddAssign<Self>`]) {
368 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.);
369 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.);
370 }
371 }
372
373 impl Addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Add#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
374 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<u32>`];
375 #[inline]
376 fn addrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<u32>`]add().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<u32>`] {
377 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<u32>`] {
378 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(rhs),
379 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(rhs),
380 }
381 }
382 }
383
384 impl AddAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/AddAssign#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
385 #[inline]
386 fn add_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`AddAssign<u32>`]add_assign().(&mut self, rhs: u32) {
387 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().(rhs);
388 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().(rhs);
389 }
390 }
391
392 impl Addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Add#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for u32 {
393 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Add<UVec2>`]Output# = UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#;
394 #[inline]
395 fn addrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Add<UVec2>`]add().(self, rhs: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
396 UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
397 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
398 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
399 }
400 }
401 }
402
403 impl Subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Sub#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
404 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<Self>`];
405 #[inline]
406 fn subrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<Self>`]sub().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<Self>`] {
407 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<Self>`] {
408 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
409 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
410 }
411 }
412 }
413
414 impl SubAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/SubAssign#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
415 #[inline]
416 fn sub_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`SubAssign<Self>`]sub_assign().(&mut self, rhs: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) {
417 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`SubAssign<Self>`]sub_assign().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.);
418 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`SubAssign<Self>`]sub_assign().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.);
419 }
420 }
421
422 impl Subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Sub#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
423 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<u32>`];
424 #[inline]
425 fn subrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<u32>`]sub().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<u32>`] {
426 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sub<u32>`] {
427 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().(rhs),
428 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().(rhs),
429 }
430 }
431 }
432
433 impl SubAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/SubAssign#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
434 #[inline]
435 fn sub_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`SubAssign<u32>`]sub_assign().(&mut self, rhs: u32) {
436 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`SubAssign<Self>`]sub_assign().(rhs);
437 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`SubAssign<Self>`]sub_assign().(rhs);
438 }
439 }
440
441 impl Subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Sub#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for u32 {
442 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Sub<UVec2>`]Output# = UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#;
443 #[inline]
444 fn subrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Sub<UVec2>`]sub().(self, rhs: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
445 UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
446 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
447 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
448 }
449 }
450 }
451
452 impl Remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Rem#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
453 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<Self>`];
454 #[inline]
455 fn remrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<Self>`]rem().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<Self>`] {
456 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<Self>`] {
457 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
458 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
459 }
460 }
461 }
462
463 impl RemAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/RemAssign#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
464 #[inline]
465 fn rem_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`RemAssign<Self>`]rem_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`RemAssign<Self>`]) {
466 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`RemAssign<Self>`]rem_assign().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.);
467 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`RemAssign<Self>`]rem_assign().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.);
468 }
469 }
470
471 impl Remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Rem#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
472 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<u32>`];
473 #[inline]
474 fn remrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<u32>`]rem().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<u32>`] {
475 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Rem<u32>`] {
476 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().(rhs),
477 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().(rhs),
478 }
479 }
480 }
481
482 impl RemAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/RemAssign#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
483 #[inline]
484 fn rem_assignrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`RemAssign<u32>`]rem_assign().(&mut self, rhs: u32) {
485 self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`RemAssign<Self>`]rem_assign().(rhs);
486 self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`RemAssign<Self>`]rem_assign().(rhs);
487 }
488 }
489
490 impl Remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Rem#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for u32 {
491 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Rem<UVec2>`]Output# = UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#;
492 #[inline]
493 fn remrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[u32][`Rem<UVec2>`]rem().(self, rhs: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
494 UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
495 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
496 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
497 }
498 }
499 }
500
501 #[cfg(not(target_arch = "spirv"))]
502 impl AsRefrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/AsRef#<[u32; 2]> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
503 #[inline]
504 fn as_refrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`AsRef<[u32; 2]>`]as_ref().(&self) -> &[u32; 2] {
505 unsafe { &*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/Deref#deref().(self as *const UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# as *const [u32; 2]) }
506 }
507 }
508
509 #[cfg(not(target_arch = "spirv"))]
510 impl AsMutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/AsMut#<[u32; 2]> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
511 #[inline]
512 fn as_mutrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`AsMut<[u32; 2]>`]as_mut().(&mut self) -> &mut [u32; 2] {
513 unsafe { &mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/Deref#deref().(self as *mut UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# as *mut [u32; 2]) }
514 }
515 }
516
517 impl Sumrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Sum# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
518 #[inline]
519 fn sumrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<Self>`]sum().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<Self>`]
520 where
521 I: Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#<Itemrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#Item# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<Self>`]>,
522 {
523 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<Self>`]::ZEROrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ZERO., Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<Self>`]::addrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`]add().)
524 }
525 }
526
527 impl<'a> Sumrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Sum#<&'a Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<&'a UVec2>`]> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
528 #[inline]
529 fn sumrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<&'a UVec2>`]sum().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<&'a UVec2>`]
530 where
531 I: Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#<Itemrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#Item# = &'a Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<&'a UVec2>`]>,
532 {
533 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<&'a UVec2>`]::ZEROrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ZERO., |a, &b| Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Sum<&'a UVec2>`]::addrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Add<Self>`]add().(a, b))
534 }
535 }
536
537 impl Productrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Product# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
538 #[inline]
539 fn productrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<Self>`]product().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<Self>`]
540 where
541 I: Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#<Itemrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#Item# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<Self>`]>,
542 {
543 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<Self>`]::ONErust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ONE., Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<Self>`]::mulrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`]mul().)
544 }
545 }
546
547 impl<'a> Productrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Product#<&'a Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<&'a UVec2>`]> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
548 #[inline]
549 fn productrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<&'a UVec2>`]product().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<&'a UVec2>`]
550 where
551 I: Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#<Itemrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#Item# = &'a Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<&'a UVec2>`]>,
552 {
553 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<&'a UVec2>`]::ONErust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]ONE., |a, &b| Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Product<&'a UVec2>`]::mulrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Mul<Self>`]mul().(a, b))
554 }
555 }
556
557 impl Notrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Not# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
558 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Not]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Not];
559 #[inline]
560 fn notrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Not]not().(self) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Not]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Not#Output# {
561 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Not] {
562 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..notrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][Not]not().(),
563 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..notrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][Not]not().(),
564 }
565 }
566 }
567
568 impl BitAndrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
569 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<Self>`];
570 #[inline]
571 fn bitandrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<Self>`]bitand().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd#Output# {
572 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<Self>`] {
573 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
574 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
575 }
576 }
577 }
578
579 impl BitOrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
580 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<Self>`];
581 #[inline]
582 fn bitorrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<Self>`]bitor().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr#Output# {
583 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<Self>`] {
584 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
585 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
586 }
587 }
588 }
589
590 impl BitXorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
591 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<Self>`];
592 #[inline]
593 fn bitxorrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<Self>`]bitxor().(self, rhs: Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<Self>`]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor#Output# {
594 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<Self>`] {
595 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitXor<Self>`]bitxor().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
596 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitXor<Self>`]bitxor().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
597 }
598 }
599 }
600
601 impl BitAndrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
602 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<u32>`];
603 #[inline]
604 fn bitandrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<u32>`]bitand().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd#Output# {
605 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitAnd<u32>`] {
606 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().(rhs),
607 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().(rhs),
608 }
609 }
610 }
611
612 impl BitOrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
613 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<u32>`];
614 #[inline]
615 fn bitorrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<u32>`]bitor().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr#Output# {
616 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitOr<u32>`] {
617 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(rhs),
618 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(rhs),
619 }
620 }
621 }
622
623 impl BitXorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
624 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<u32>`];
625 #[inline]
626 fn bitxorrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<u32>`]bitxor().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor#Output# {
627 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`BitXor<u32>`] {
628 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitXor<Self>`]bitxor().(rhs),
629 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitXor<Self>`]bitxor().(rhs),
630 }
631 }
632 }
633
634 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i8> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
635 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i8>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i8>`];
636 #[inline]
637 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i8>`]shl().(self, rhs: i8) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
638 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i8>`] {
639 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i8>`]shl().(rhs),
640 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i8>`]shl().(rhs),
641 }
642 }
643 }
644
645 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i8> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
646 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i8>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i8>`];
647 #[inline]
648 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i8>`]shr().(self, rhs: i8) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
649 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i8>`] {
650 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i8>`]shr().(rhs),
651 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i8>`]shr().(rhs),
652 }
653 }
654 }
655
656 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i16> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
657 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i16>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i16>`];
658 #[inline]
659 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i16>`]shl().(self, rhs: i16) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
660 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i16>`] {
661 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i16>`]shl().(rhs),
662 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i16>`]shl().(rhs),
663 }
664 }
665 }
666
667 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i16> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
668 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i16>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i16>`];
669 #[inline]
670 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i16>`]shr().(self, rhs: i16) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
671 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i16>`] {
672 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i16>`]shr().(rhs),
673 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i16>`]shr().(rhs),
674 }
675 }
676 }
677
678 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
679 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i32>`];
680 #[inline]
681 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i32>`]shl().(self, rhs: i32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
682 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<i32>`] {
683 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().(rhs),
684 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().(rhs),
685 }
686 }
687 }
688
689 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
690 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i32>`];
691 #[inline]
692 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i32>`]shr().(self, rhs: i32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
693 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<i32>`] {
694 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().(rhs),
695 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().(rhs),
696 }
697 }
698 }
699
700 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u8> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
701 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u8>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u8>`];
702 #[inline]
703 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u8>`]shl().(self, rhs: u8) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
704 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u8>`] {
705 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u8>`]shl().(rhs),
706 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u8>`]shl().(rhs),
707 }
708 }
709 }
710
711 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u8> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
712 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u8>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u8>`];
713 #[inline]
714 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u8>`]shr().(self, rhs: u8) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
715 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u8>`] {
716 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<u8>`]shr().(rhs),
717 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<u8>`]shr().(rhs),
718 }
719 }
720 }
721
722 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u16> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
723 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u16>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u16>`];
724 #[inline]
725 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u16>`]shl().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
726 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u16>`] {
727 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u16>`]shl().(rhs),
728 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u16>`]shl().(rhs),
729 }
730 }
731 }
732
733 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u16> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
734 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u16>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u16>`];
735 #[inline]
736 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u16>`]shr().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
737 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u16>`] {
738 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<u16>`]shr().(rhs),
739 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<u16>`]shr().(rhs),
740 }
741 }
742 }
743
744 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
745 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u32>`];
746 #[inline]
747 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u32>`]shl().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
748 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<u32>`] {
749 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<Self>`]shl().(rhs),
750 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<Self>`]shl().(rhs),
751 }
752 }
753 }
754
755 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u32> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
756 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u32>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u32>`];
757 #[inline]
758 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u32>`]shr().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
759 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<u32>`] {
760 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<Self>`]shr().(rhs),
761 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<Self>`]shr().(rhs),
762 }
763 }
764 }
765
766 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<craterust-analyzer cargo glam 0.23.0 crate/::IVec2rust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
767 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<crate::IVec2>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<crate::IVec2>`];
768 #[inline]
769 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<crate::IVec2>`]shl().(self, rhs: craterust-analyzer cargo glam 0.23.0 crate/::IVec2rust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<crate::IVec2>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
770 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<crate::IVec2>`] {
771 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().(rhs.xrust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#x.),
772 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().(rhs.yrust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#y.),
773 }
774 }
775 }
776
777 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<craterust-analyzer cargo glam 0.23.0 crate/::IVec2rust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
778 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<crate::IVec2>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<crate::IVec2>`];
779 #[inline]
780 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<crate::IVec2>`]shr().(self, rhs: craterust-analyzer cargo glam 0.23.0 crate/::IVec2rust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<crate::IVec2>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
781 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<crate::IVec2>`] {
782 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().(rhs.xrust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#x.),
783 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().(rhs.yrust-analyzer cargo glam 0.23.0 i32/ivec2/IVec2#y.),
784 }
785 }
786 }
787
788 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<craterust-analyzer cargo glam 0.23.0 crate/::UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
789 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<Self>`];
790 #[inline]
791 fn shlrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<Self>`]shl().(self, rhs: craterust-analyzer cargo glam 0.23.0 crate/::UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
792 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shl<Self>`] {
793 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<Self>`]shl().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
794 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<Self>`]shl().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
795 }
796 }
797 }
798
799 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<craterust-analyzer cargo glam 0.23.0 crate/::UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
800 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<Self>`]Output# = Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<Self>`];
801 #[inline]
802 fn shrrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<Self>`]shr().(self, rhs: craterust-analyzer cargo glam 0.23.0 crate/::UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
803 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Shr<Self>`] {
804 xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.: self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<Self>`]shr().(rhs.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.),
805 yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.: self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<Self>`]shr().(rhs.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.),
806 }
807 }
808 }
809
810 impl Indexrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#<usize> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
811 type Outputrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Index<usize>`]Output# = u32;
812 #[inline]
813 fn indexrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Index<usize>`]index().(&self, index: usize) -> &Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`Index<usize>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#Output# {
814 match index {
815 0 => &self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.,
816 1 => &self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.,
817 _ => panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/panic!!("index out of bounds"),
818 }
819 }
820 }
821
822 impl IndexMutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#<usize> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
823 #[inline]
824 fn index_mutrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`IndexMut<usize>`]index_mut().(&mut self, index: usize) -> &mut Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`IndexMut<usize>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#Output# {
825 match index {
826 0 => &mut self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.,
827 1 => &mut self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.,
828 _ => panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/panic!!("index out of bounds"),
829 }
830 }
831 }
832
833 #[cfg(not(target_arch = "spirv"))]
834 impl fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
835 fn fmtrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#<'_>) -> fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# {
836 writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "[{}, {}]", self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x., self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.)
837 }
838 }
839
840 #[cfg(not(target_arch = "spirv"))]
841 impl fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Debug# for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
842 fn fmtrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][Debug]fmt().(&self, fmt: &mut fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#<'_>) -> fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# {
843 fmt.debug_tuplerust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/impl#[`Formatter<'a>`]debug_tuple().(stringifyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/stringify!!(UVec2))
844 .fieldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugTuple<'a, 'b>`]field().(&self.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x.)
845 .fieldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugTuple<'a, 'b>`]field().(&self.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.)
846 .finishrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugTuple<'a, 'b>`]finish().()
847 }
848 }
849
850 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<[u32; 2]> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
851 #[inline]
852 fn fromrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`From<[u32; 2]>`]from().(a: [u32; 2]) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`From<[u32; 2]>`] {
853 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`From<[u32; 2]>`]::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(a[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index()., a[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().)
854 }
855 }
856
857 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for [u32; 2] {
858 #[inline]
859 fn fromrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[`[u32; 2]`][`From<UVec2>`]from().(v: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[`[u32; 2]`][`From<UVec2>`] {
860 [v.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x., v.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.]
861 }
862 }
863
864 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<(u32, u32)> for UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2# {
865 #[inline]
866 fn fromrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`From<(u32, u32)>`]from().(t: (u32, u32)) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`From<(u32, u32)>`] {
867 Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2][`From<(u32, u32)>`]::newrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[UVec2]new().(t.0, t.1)
868 }
869 }
870
871 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#> for (u32, u32) {
872 #[inline]
873 fn fromrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[`(u32, u32)`][`From<UVec2>`]from().(v: UVec2rust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#) -> Selfrust-analyzer cargo glam 0.23.0 u32/uvec2/impl#[`(u32, u32)`][`From<UVec2>`] {
874 (v.xrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#x., v.yrust-analyzer cargo glam 0.23.0 u32/uvec2/UVec2#y.)
875 }
876 }