Debian Codegraph @

debian/missing-sources/glam-0.28.0/src/u16/u16vec2.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.28.0 crate/::{BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#, I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#, I64Vec2rust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2#, IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#, U16Vec3rust-analyzer cargo glam 0.28.0 u16/u16vec3/U16Vec3#, U64Vec2rust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2#, UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#};
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 #[must_use]
13 pub const fn u16vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/u16vec2().(x: u16, y: u16) -> U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
14 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(x, y)
15 }
16
17 /// A 2-dimensional vector.
18 #[cfg_attr(not(target_arch = "spirv"), derive(Hashrust-analyzer cargo core https://github.com/rust-lang/rust/library/core hash/macros/Hash:))]
19 #[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:)]
20 #[cfg_attr(feature = "cuda", repr(align(4)))]
21 #[cfg_attr(not(target_arch = "spirv"), repr(C))]
22 #[cfg_attr(target_arch = "spirv", repr(simd))]
23 pub struct U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
24 pub xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: u16,
25 pub yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: u16,
26 }
27
28 impl U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
29 /// All zeroes.
30 pub const ZEROrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ZERO.: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::splatrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]splat().(0);
31
32 /// All ones.
33 pub const ONErust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ONE.: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::splatrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]splat().(1);
34
35 /// All `u16::MIN`.
36 pub const MINrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]MIN.: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::splatrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]splat().(u16::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]MIN.);
37
38 /// All `u16::MAX`.
39 pub const MAXrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]MAX.: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::splatrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]splat().(u16::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]MAX.);
40
41 /// A unit vector pointing along the positive X axis.
42 pub const Xrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]X.: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(1, 0);
43
44 /// A unit vector pointing along the positive Y axis.
45 pub const Yrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]Y.: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(0, 1);
46
47 /// The unit axes.
48 pub const AXESrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]AXES.: [Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]; 2] = [Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::Xrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]X., Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::Yrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]Y.];
49
50 /// Creates a new vector.
51 #[inline(always)]
52 #[must_use]
53 pub const fn newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(x: u16, y: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
54 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] { xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x., yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. }
55 }
56
57 /// Creates a vector with all elements set to `v`.
58 #[inline]
59 #[must_use]
60 pub const fn splatrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]splat().(v: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
61 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] { xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: v, yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: v }
62 }
63
64 /// Creates a vector from the elements in `if_true` and `if_false`, selecting which to use
65 /// for each element of `self`.
66 ///
67 /// A true element in the mask uses the corresponding element from `if_true`, and false
68 /// uses the element from `if_false`.
69 #[inline]
70 #[must_use]
71 pub fn selectrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]select().(mask: BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#, if_true: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2], if_false: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
72 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
73 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: if mask.testrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]test().(0) { if_true.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. } else { if_false.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. },
74 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: if mask.testrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]test().(1) { if_true.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. } else { if_false.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. },
75 }
76 }
77
78 /// Creates a new vector from an array.
79 #[inline]
80 #[must_use]
81 pub const fn from_arrayrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]from_array().(a: [u16; 2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
82 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]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().)
83 }
84
85 /// `[x, y]`
86 #[inline]
87 #[must_use]
88 pub const fn to_arrayrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]to_array().(&self) -> [u16; 2] {
89 [self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x., self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.]
90 }
91
92 /// Creates a vector from the first 2 values in `slice`.
93 ///
94 /// # Panics
95 ///
96 /// Panics if `slice` is less than 2 elements long.
97 #[inline]
98 #[must_use]
99 pub const fn from_slicerust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]from_slice().(slice: &[u16]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
100 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]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().)
101 }
102
103 /// Writes the elements of `self` to the first 2 elements in `slice`.
104 ///
105 /// # Panics
106 ///
107 /// Panics if `slice` is less than 2 elements long.
108 #[inline]
109 pub fn write_to_slicerust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]write_to_slice().(self, slice: &mut [u16]) {
110 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.28.0 u16/u16vec2/U16Vec2#x.;
111 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.28.0 u16/u16vec2/U16Vec2#y.;
112 }
113
114 /// Creates a 3D vector from `self` and the given `z` value.
115 #[inline]
116 #[must_use]
117 pub const fn extendrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]extend().(self, z: u16) -> U16Vec3rust-analyzer cargo glam 0.28.0 u16/u16vec3/U16Vec3# {
118 U16Vec3rust-analyzer cargo glam 0.28.0 u16/u16vec3/U16Vec3#::newrust-analyzer cargo glam 0.28.0 u16/u16vec3/impl#[U16Vec3]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x., self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y., z)
119 }
120
121 /// Creates a 2D vector from `self` with the given value of `x`.
122 #[inline]
123 #[must_use]
124 pub fn with_xrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]with_x().(mut self, x: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
125 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. = x;
126 self
127 }
128
129 /// Creates a 2D vector from `self` with the given value of `y`.
130 #[inline]
131 #[must_use]
132 pub fn with_yrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]with_y().(mut self, y: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
133 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. = y;
134 self
135 }
136
137 /// Computes the dot product of `self` and `rhs`.
138 #[inline]
139 #[must_use]
140 pub fn dotrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]dot().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> u16 {
141 (self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.)
142 }
143
144 /// Returns a vector where every component is the dot product of `self` and `rhs`.
145 #[inline]
146 #[must_use]
147 pub fn dot_into_vecrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]dot_into_vec().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
148 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]::splatrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]splat().(self.dotrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]dot().(rhs))
149 }
150
151 /// Returns a vector containing the minimum values for each element of `self` and `rhs`.
152 ///
153 /// In other words this computes `[self.x.min(rhs.x), self.y.min(rhs.y), ..]`.
154 #[inline]
155 #[must_use]
156 pub fn minrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]min().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
157 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
158 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
159 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
160 }
161 }
162
163 /// Returns a vector containing the maximum values for each element of `self` and `rhs`.
164 ///
165 /// In other words this computes `[self.x.max(rhs.x), self.y.max(rhs.y), ..]`.
166 #[inline]
167 #[must_use]
168 pub fn maxrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]max().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
169 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
170 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
171 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
172 }
173 }
174
175 /// Component-wise clamping of values, similar to [`u16::clamp`].
176 ///
177 /// Each element in `min` must be less-or-equal to the corresponding element in `max`.
178 ///
179 /// # Panics
180 ///
181 /// Will panic if `min` is greater than `max` when `glam_assert` is enabled.
182 #[inline]
183 #[must_use]
184 pub fn clamprust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]clamp().(self, min: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2], max: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
185 glam_assertrust-analyzer cargo glam 0.28.0 macros/glam_assert!!(min.cmple(max).all(), "clamp: expected min <= max");
186 self.maxrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]max().(min).minrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]min().(max)
187 }
188
189 /// Returns the horizontal minimum of `self`.
190 ///
191 /// In other words this computes `min(x, y, ..)`.
192 #[inline]
193 #[must_use]
194 pub fn min_elementrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]min_element().(self) -> u16 {
195 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.)
196 }
197
198 /// Returns the horizontal maximum of `self`.
199 ///
200 /// In other words this computes `max(x, y, ..)`.
201 #[inline]
202 #[must_use]
203 pub fn max_elementrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]max_element().(self) -> u16 {
204 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.)
205 }
206
207 /// Returns the sum of all elements of `self`.
208 ///
209 /// In other words, this computes `self.x + self.y + ..`.
210 #[inline]
211 #[must_use]
212 pub fn element_sumrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]element_sum().(self) -> u16 {
213 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.
214 }
215
216 /// Returns the product of all elements of `self`.
217 ///
218 /// In other words, this computes `self.x * self.y * ..`.
219 #[inline]
220 #[must_use]
221 pub fn element_productrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]element_product().(self) -> u16 {
222 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.
223 }
224
225 /// Returns a vector mask containing the result of a `==` comparison for each element of
226 /// `self` and `rhs`.
227 ///
228 /// In other words, this computes `[self.x == rhs.x, self.y == rhs.y, ..]` for all
229 /// elements.
230 #[inline]
231 #[must_use]
232 pub fn cmpeqrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]cmpeq().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2# {
233 BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().(&rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.), self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().(&rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.))
234 }
235
236 /// Returns a vector mask containing the result of a `!=` comparison for each element of
237 /// `self` and `rhs`.
238 ///
239 /// In other words this computes `[self.x != rhs.x, self.y != rhs.y, ..]` for all
240 /// elements.
241 #[inline]
242 #[must_use]
243 pub fn cmpnerust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]cmpne().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2# {
244 BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..nerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]ne().(&rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.), self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..nerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]ne().(&rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.))
245 }
246
247 /// Returns a vector mask containing the result of a `>=` comparison for each element of
248 /// `self` and `rhs`.
249 ///
250 /// In other words this computes `[self.x >= rhs.x, self.y >= rhs.y, ..]` for all
251 /// elements.
252 #[inline]
253 #[must_use]
254 pub fn cmpgerust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]cmpge().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2# {
255 BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..gerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]ge().(&rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.), self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..gerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]ge().(&rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.))
256 }
257
258 /// Returns a vector mask containing the result of a `>` comparison for each element of
259 /// `self` and `rhs`.
260 ///
261 /// In other words this computes `[self.x > rhs.x, self.y > rhs.y, ..]` for all
262 /// elements.
263 #[inline]
264 #[must_use]
265 pub fn cmpgtrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]cmpgt().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2# {
266 BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..gtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]gt().(&rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.), self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..gtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]gt().(&rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.))
267 }
268
269 /// Returns a vector mask containing the result of a `<=` comparison for each element of
270 /// `self` and `rhs`.
271 ///
272 /// In other words this computes `[self.x <= rhs.x, self.y <= rhs.y, ..]` for all
273 /// elements.
274 #[inline]
275 #[must_use]
276 pub fn cmplerust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]cmple().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2# {
277 BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..lerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]le().(&rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.), self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..lerust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]le().(&rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.))
278 }
279
280 /// Returns a vector mask containing the result of a `<` comparison for each element of
281 /// `self` and `rhs`.
282 ///
283 /// In other words this computes `[self.x < rhs.x, self.y < rhs.y, ..]` for all
284 /// elements.
285 #[inline]
286 #[must_use]
287 pub fn cmpltrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]cmplt().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2# {
288 BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#::newrust-analyzer cargo glam 0.28.0 bool/bvec2/impl#[BVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..ltrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]lt().(&rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.), self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..ltrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]lt().(&rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.))
289 }
290
291 /// Computes the squared length of `self`.
292 #[doc(alias = "magnitude2")]
293 #[inline]
294 #[must_use]
295 pub fn length_squaredrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]length_squared().(self) -> u16 {
296 self.dotrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]dot().(self)
297 }
298
299 /// Casts all elements of `self` to `f32`.
300 #[inline]
301 #[must_use]
302 pub fn as_vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_vec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::Vec2rust-analyzer cargo glam 0.28.0 f32/vec2/Vec2# {
303 craterust-analyzer cargo glam 0.28.0 crate/::Vec2rust-analyzer cargo glam 0.28.0 f32/vec2/Vec2#::newrust-analyzer cargo glam 0.28.0 f32/vec2/impl#[Vec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as f32, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as f32)
304 }
305
306 /// Casts all elements of `self` to `f64`.
307 #[inline]
308 #[must_use]
309 pub fn as_dvec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_dvec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::DVec2rust-analyzer cargo glam 0.28.0 f64/dvec2/DVec2# {
310 craterust-analyzer cargo glam 0.28.0 crate/::DVec2rust-analyzer cargo glam 0.28.0 f64/dvec2/DVec2#::newrust-analyzer cargo glam 0.28.0 f64/dvec2/impl#[DVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as f64, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as f64)
311 }
312
313 /// Casts all elements of `self` to `i16`.
314 #[inline]
315 #[must_use]
316 pub fn as_i16vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_i16vec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2# {
317 craterust-analyzer cargo glam 0.28.0 crate/::I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#::newrust-analyzer cargo glam 0.28.0 i16/i16vec2/impl#[I16Vec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as i16, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as i16)
318 }
319
320 /// Casts all elements of `self` to `i32`.
321 #[inline]
322 #[must_use]
323 pub fn as_ivec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_ivec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2# {
324 craterust-analyzer cargo glam 0.28.0 crate/::IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#::newrust-analyzer cargo glam 0.28.0 i32/ivec2/impl#[IVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as i32, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as i32)
325 }
326
327 /// Casts all elements of `self` to `u32`.
328 #[inline]
329 #[must_use]
330 pub fn as_uvec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_uvec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2# {
331 craterust-analyzer cargo glam 0.28.0 crate/::UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#::newrust-analyzer cargo glam 0.28.0 u32/uvec2/impl#[UVec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as u32, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as u32)
332 }
333
334 /// Casts all elements of `self` to `i64`.
335 #[inline]
336 #[must_use]
337 pub fn as_i64vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_i64vec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::I64Vec2rust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2# {
338 craterust-analyzer cargo glam 0.28.0 crate/::I64Vec2rust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2#::newrust-analyzer cargo glam 0.28.0 i64/i64vec2/impl#[I64Vec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as i64, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as i64)
339 }
340
341 /// Casts all elements of `self` to `u64`.
342 #[inline]
343 #[must_use]
344 pub fn as_u64vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]as_u64vec2().(&self) -> craterust-analyzer cargo glam 0.28.0 crate/::U64Vec2rust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2# {
345 craterust-analyzer cargo glam 0.28.0 crate/::U64Vec2rust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2#::newrust-analyzer cargo glam 0.28.0 u64/u64vec2/impl#[U64Vec2]new().(self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x. as u64, self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y. as u64)
346 }
347
348 /// Returns a vector containing the wrapping addition of `self` and `rhs`.
349 ///
350 /// In other words this computes `[self.x.wrapping_add(rhs.x), self.y.wrapping_add(rhs.y), ..]`.
351 #[inline]
352 #[must_use]
353 pub const fn wrapping_addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]wrapping_add().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
354 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
355 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..wrapping_addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_add().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
356 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..wrapping_addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_add().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
357 }
358 }
359
360 /// Returns a vector containing the wrapping subtraction of `self` and `rhs`.
361 ///
362 /// In other words this computes `[self.x.wrapping_sub(rhs.x), self.y.wrapping_sub(rhs.y), ..]`.
363 #[inline]
364 #[must_use]
365 pub const fn wrapping_subrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]wrapping_sub().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
366 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
367 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..wrapping_subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_sub().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
368 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..wrapping_subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_sub().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
369 }
370 }
371
372 /// Returns a vector containing the wrapping multiplication of `self` and `rhs`.
373 ///
374 /// In other words this computes `[self.x.wrapping_mul(rhs.x), self.y.wrapping_mul(rhs.y), ..]`.
375 #[inline]
376 #[must_use]
377 pub const fn wrapping_mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]wrapping_mul().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
378 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
379 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..wrapping_mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_mul().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
380 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..wrapping_mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_mul().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
381 }
382 }
383
384 /// Returns a vector containing the wrapping division of `self` and `rhs`.
385 ///
386 /// In other words this computes `[self.x.wrapping_div(rhs.x), self.y.wrapping_div(rhs.y), ..]`.
387 #[inline]
388 #[must_use]
389 pub const fn wrapping_divrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]wrapping_div().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
390 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
391 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..wrapping_divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_div().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
392 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..wrapping_divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_div().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
393 }
394 }
395
396 /// Returns a vector containing the saturating addition of `self` and `rhs`.
397 ///
398 /// In other words this computes `[self.x.saturating_add(rhs.x), self.y.saturating_add(rhs.y), ..]`.
399 #[inline]
400 #[must_use]
401 pub const fn saturating_addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]saturating_add().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
402 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
403 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..saturating_addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_add().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
404 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..saturating_addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_add().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
405 }
406 }
407
408 /// Returns a vector containing the saturating subtraction of `self` and `rhs`.
409 ///
410 /// In other words this computes `[self.x.saturating_sub(rhs.x), self.y.saturating_sub(rhs.y), ..]`.
411 #[inline]
412 #[must_use]
413 pub const fn saturating_subrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]saturating_sub().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
414 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
415 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..saturating_subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_sub().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
416 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..saturating_subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_sub().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
417 }
418 }
419
420 /// Returns a vector containing the saturating multiplication of `self` and `rhs`.
421 ///
422 /// In other words this computes `[self.x.saturating_mul(rhs.x), self.y.saturating_mul(rhs.y), ..]`.
423 #[inline]
424 #[must_use]
425 pub const fn saturating_mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]saturating_mul().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
426 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
427 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..saturating_mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_mul().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
428 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..saturating_mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_mul().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
429 }
430 }
431
432 /// Returns a vector containing the saturating division of `self` and `rhs`.
433 ///
434 /// In other words this computes `[self.x.saturating_div(rhs.x), self.y.saturating_div(rhs.y), ..]`.
435 #[inline]
436 #[must_use]
437 pub const fn saturating_divrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]saturating_div().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
438 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
439 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..saturating_divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_div().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
440 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..saturating_divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_div().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
441 }
442 }
443
444 /// Returns a vector containing the wrapping addition of `self` and signed vector `rhs`.
445 ///
446 /// In other words this computes `[self.x.wrapping_add_signed(rhs.x), self.y.wrapping_add_signed(rhs.y), ..]`.
447 #[inline]
448 #[must_use]
449 pub const fn wrapping_add_signedrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]wrapping_add_signed().(self, rhs: I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
450 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
451 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..wrapping_add_signedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_add_signed().(rhs.xrust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#x.),
452 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..wrapping_add_signedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]wrapping_add_signed().(rhs.yrust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#y.),
453 }
454 }
455
456 /// Returns a vector containing the saturating addition of `self` and signed vector `rhs`.
457 ///
458 /// In other words this computes `[self.x.saturating_add_signed(rhs.x), self.y.saturating_add_signed(rhs.y), ..]`.
459 #[inline]
460 #[must_use]
461 pub const fn saturating_add_signedrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]saturating_add_signed().(self, rhs: I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
462 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2] {
463 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..saturating_add_signedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_add_signed().(rhs.xrust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#x.),
464 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..saturating_add_signedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u16]saturating_add_signed().(rhs.yrust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#y.),
465 }
466 }
467 }
468
469 impl Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
470 #[inline(always)]
471 fn defaultrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Default]default().() -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Default] {
472 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Default]::ZEROrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ZERO.
473 }
474 }
475
476 impl Divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Div#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
477 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<Self>`];
478 #[inline]
479 fn divrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<Self>`]div().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<Self>`] {
480 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<Self>`] {
481 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Div<Self>`]div().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
482 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Div<Self>`]div().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
483 }
484 }
485 }
486
487 impl DivAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/DivAssign#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
488 #[inline]
489 fn div_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`DivAssign<Self>`]div_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`DivAssign<Self>`]) {
490 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`DivAssign<Self>`]div_assign().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.);
491 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`DivAssign<Self>`]div_assign().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.);
492 }
493 }
494
495 impl Divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Div#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
496 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<u16>`];
497 #[inline]
498 fn divrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<u16>`]div().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<u16>`] {
499 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Div<u16>`] {
500 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Div<Self>`]div().(rhs),
501 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Div<Self>`]div().(rhs),
502 }
503 }
504 }
505
506 impl DivAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/DivAssign#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
507 #[inline]
508 fn div_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`DivAssign<u16>`]div_assign().(&mut self, rhs: u16) {
509 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`DivAssign<Self>`]div_assign().(rhs);
510 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..div_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`DivAssign<Self>`]div_assign().(rhs);
511 }
512 }
513
514 impl Divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Div#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for u16 {
515 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Div<U16Vec2>`]Output# = U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#;
516 #[inline]
517 fn divrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Div<U16Vec2>`]div().(self, rhs: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
518 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
519 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Div<Self>`]div().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
520 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Div<Self>`]div().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
521 }
522 }
523 }
524
525 impl Mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Mul#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
526 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`];
527 #[inline]
528 fn mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`]mul().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`] {
529 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`] {
530 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
531 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
532 }
533 }
534 }
535
536 impl MulAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/MulAssign#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
537 #[inline]
538 fn mul_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`MulAssign<Self>`]mul_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`MulAssign<Self>`]) {
539 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`MulAssign<Self>`]mul_assign().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.);
540 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`MulAssign<Self>`]mul_assign().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.);
541 }
542 }
543
544 impl Mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Mul#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
545 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<u16>`];
546 #[inline]
547 fn mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<u16>`]mul().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<u16>`] {
548 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<u16>`] {
549 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().(rhs),
550 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().(rhs),
551 }
552 }
553 }
554
555 impl MulAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/MulAssign#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
556 #[inline]
557 fn mul_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`MulAssign<u16>`]mul_assign().(&mut self, rhs: u16) {
558 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`MulAssign<Self>`]mul_assign().(rhs);
559 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..mul_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`MulAssign<Self>`]mul_assign().(rhs);
560 }
561 }
562
563 impl Mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Mul#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for u16 {
564 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Mul<U16Vec2>`]Output# = U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#;
565 #[inline]
566 fn mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Mul<U16Vec2>`]mul().(self, rhs: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
567 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
568 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
569 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Mul<Self>`]mul().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
570 }
571 }
572 }
573
574 impl Addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Add#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
575 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`];
576 #[inline]
577 fn addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`]add().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`] {
578 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`] {
579 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
580 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
581 }
582 }
583 }
584
585 impl AddAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/AddAssign#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
586 #[inline]
587 fn add_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`AddAssign<Self>`]add_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`AddAssign<Self>`]) {
588 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.);
589 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.);
590 }
591 }
592
593 impl Addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Add#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
594 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<u16>`];
595 #[inline]
596 fn addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<u16>`]add().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<u16>`] {
597 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<u16>`] {
598 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(rhs),
599 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(rhs),
600 }
601 }
602 }
603
604 impl AddAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/AddAssign#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
605 #[inline]
606 fn add_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`AddAssign<u16>`]add_assign().(&mut self, rhs: u16) {
607 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().(rhs);
608 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..add_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().(rhs);
609 }
610 }
611
612 impl Addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Add#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for u16 {
613 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Add<U16Vec2>`]Output# = U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#;
614 #[inline]
615 fn addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Add<U16Vec2>`]add().(self, rhs: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
616 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
617 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
618 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
619 }
620 }
621 }
622
623 impl Subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Sub#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
624 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<Self>`];
625 #[inline]
626 fn subrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<Self>`]sub().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<Self>`] {
627 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<Self>`] {
628 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
629 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
630 }
631 }
632 }
633
634 impl SubAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/SubAssign#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
635 #[inline]
636 fn sub_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`SubAssign<Self>`]sub_assign().(&mut self, rhs: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) {
637 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.);
638 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.);
639 }
640 }
641
642 impl Subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Sub#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
643 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<u16>`];
644 #[inline]
645 fn subrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<u16>`]sub().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<u16>`] {
646 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sub<u16>`] {
647 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().(rhs),
648 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().(rhs),
649 }
650 }
651 }
652
653 impl SubAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/SubAssign#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
654 #[inline]
655 fn sub_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`SubAssign<u16>`]sub_assign().(&mut self, rhs: u16) {
656 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().(rhs);
657 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..sub_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().(rhs);
658 }
659 }
660
661 impl Subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Sub#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for u16 {
662 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Sub<U16Vec2>`]Output# = U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#;
663 #[inline]
664 fn subrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Sub<U16Vec2>`]sub().(self, rhs: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
665 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
666 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
667 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
668 }
669 }
670 }
671
672 impl Remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Rem#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
673 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<Self>`];
674 #[inline]
675 fn remrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<Self>`]rem().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<Self>`] {
676 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<Self>`] {
677 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Rem<Self>`]rem().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
678 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Rem<Self>`]rem().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
679 }
680 }
681 }
682
683 impl RemAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/RemAssign#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
684 #[inline]
685 fn rem_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`RemAssign<Self>`]rem_assign().(&mut self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`RemAssign<Self>`]) {
686 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`RemAssign<Self>`]rem_assign().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.);
687 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`RemAssign<Self>`]rem_assign().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.);
688 }
689 }
690
691 impl Remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Rem#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
692 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<u16>`];
693 #[inline]
694 fn remrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<u16>`]rem().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<u16>`] {
695 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Rem<u16>`] {
696 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Rem<Self>`]rem().(rhs),
697 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Rem<Self>`]rem().(rhs),
698 }
699 }
700 }
701
702 impl RemAssignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/RemAssign#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
703 #[inline]
704 fn rem_assignrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`RemAssign<u16>`]rem_assign().(&mut self, rhs: u16) {
705 self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`RemAssign<Self>`]rem_assign().(rhs);
706 self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..rem_assignrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`RemAssign<Self>`]rem_assign().(rhs);
707 }
708 }
709
710 impl Remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/Rem#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for u16 {
711 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Rem<U16Vec2>`]Output# = U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#;
712 #[inline]
713 fn remrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[u16][`Rem<U16Vec2>`]rem().(self, rhs: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
714 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
715 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Rem<Self>`]rem().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
716 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Rem<Self>`]rem().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
717 }
718 }
719 }
720
721 #[cfg(not(target_arch = "spirv"))]
722 impl AsRefrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/AsRef#<[u16; 2]> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
723 #[inline]
724 fn as_refrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`AsRef<[u16; 2]>`]as_ref().(&self) -> &[u16; 2] {
725 unsafe { &*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/Deref#deref().(self as *const U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# as *const [u16; 2]) }
726 }
727 }
728
729 #[cfg(not(target_arch = "spirv"))]
730 impl AsMutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/AsMut#<[u16; 2]> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
731 #[inline]
732 fn as_mutrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`AsMut<[u16; 2]>`]as_mut().(&mut self) -> &mut [u16; 2] {
733 unsafe { &mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/Deref#deref().(self as *mut U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# as *mut [u16; 2]) }
734 }
735 }
736
737 impl Sumrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Sum# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
738 #[inline]
739 fn sumrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<Self>`]sum().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<Self>`]
740 where
741 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.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<Self>`]>,
742 {
743 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<Self>`]::ZEROrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ZERO., Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<Self>`]::addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`]add().)
744 }
745 }
746
747 impl<'a> Sumrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Sum#<&'a Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<&'a U16Vec2>`]> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
748 #[inline]
749 fn sumrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<&'a U16Vec2>`]sum().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<&'a U16Vec2>`]
750 where
751 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.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<&'a U16Vec2>`]>,
752 {
753 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<&'a U16Vec2>`]::ZEROrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ZERO., |a, &b| Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Sum<&'a U16Vec2>`]::addrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Add<Self>`]add().(a, b))
754 }
755 }
756
757 impl Productrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Product# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
758 #[inline]
759 fn productrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<Self>`]product().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<Self>`]
760 where
761 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.28.0 u16/u16vec2/impl#[U16Vec2][`Product<Self>`]>,
762 {
763 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<Self>`]::ONErust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ONE., Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<Self>`]::mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`]mul().)
764 }
765 }
766
767 impl<'a> Productrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/accum/Product#<&'a Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<&'a U16Vec2>`]> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
768 #[inline]
769 fn productrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<&'a U16Vec2>`]product().<I>(iter: I) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<&'a U16Vec2>`]
770 where
771 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.28.0 u16/u16vec2/impl#[U16Vec2][`Product<&'a U16Vec2>`]>,
772 {
773 iter.foldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#fold().(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<&'a U16Vec2>`]::ONErust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]ONE., |a, &b| Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Product<&'a U16Vec2>`]::mulrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Mul<Self>`]mul().(a, b))
774 }
775 }
776
777 impl Notrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Not# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
778 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Not]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Not];
779 #[inline]
780 fn notrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Not]not().(self) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Not]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Not#Output# {
781 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][Not] {
782 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..notrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][Not]not().(),
783 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..notrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][Not]not().(),
784 }
785 }
786 }
787
788 impl BitAndrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
789 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<Self>`];
790 #[inline]
791 fn bitandrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<Self>`]bitand().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd#Output# {
792 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<Self>`] {
793 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitAnd<Self>`]bitand().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
794 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitAnd<Self>`]bitand().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
795 }
796 }
797 }
798
799 impl BitOrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
800 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<Self>`];
801 #[inline]
802 fn bitorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<Self>`]bitor().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr#Output# {
803 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<Self>`] {
804 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitOr<Self>`]bitor().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
805 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitOr<Self>`]bitor().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
806 }
807 }
808 }
809
810 impl BitXorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor# for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
811 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<Self>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<Self>`];
812 #[inline]
813 fn bitxorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<Self>`]bitxor().(self, rhs: Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<Self>`]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<Self>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor#Output# {
814 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<Self>`] {
815 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitXor<Self>`]bitxor().(rhs.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.),
816 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitXor<Self>`]bitxor().(rhs.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.),
817 }
818 }
819 }
820
821 impl BitAndrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
822 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<u16>`];
823 #[inline]
824 fn bitandrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<u16>`]bitand().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitAnd#Output# {
825 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitAnd<u16>`] {
826 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitAnd<Self>`]bitand().(rhs),
827 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..bitandrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitAnd<Self>`]bitand().(rhs),
828 }
829 }
830 }
831
832 impl BitOrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
833 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<u16>`];
834 #[inline]
835 fn bitorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<u16>`]bitor().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitOr#Output# {
836 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitOr<u16>`] {
837 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitOr<Self>`]bitor().(rhs),
838 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..bitorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitOr<Self>`]bitor().(rhs),
839 }
840 }
841 }
842
843 impl BitXorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
844 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<u16>`];
845 #[inline]
846 fn bitxorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<u16>`]bitxor().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/BitXor#Output# {
847 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`BitXor<u16>`] {
848 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitXor<Self>`]bitxor().(rhs),
849 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..bitxorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`BitXor<Self>`]bitxor().(rhs),
850 }
851 }
852 }
853
854 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i8> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
855 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i8>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i8>`];
856 #[inline]
857 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i8>`]shl().(self, rhs: i8) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
858 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i8>`] {
859 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i8>`]shl().(rhs),
860 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i8>`]shl().(rhs),
861 }
862 }
863 }
864
865 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i8> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
866 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i8>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i8>`];
867 #[inline]
868 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i8>`]shr().(self, rhs: i8) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
869 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i8>`] {
870 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i8>`]shr().(rhs),
871 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i8>`]shr().(rhs),
872 }
873 }
874 }
875
876 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
877 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i16>`];
878 #[inline]
879 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i16>`]shl().(self, rhs: i16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
880 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i16>`] {
881 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i16>`]shl().(rhs),
882 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i16>`]shl().(rhs),
883 }
884 }
885 }
886
887 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
888 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i16>`];
889 #[inline]
890 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i16>`]shr().(self, rhs: i16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
891 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i16>`] {
892 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i16>`]shr().(rhs),
893 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i16>`]shr().(rhs),
894 }
895 }
896 }
897
898 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i32> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
899 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i32>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i32>`];
900 #[inline]
901 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i32>`]shl().(self, rhs: i32) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
902 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i32>`] {
903 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i32>`]shl().(rhs),
904 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i32>`]shl().(rhs),
905 }
906 }
907 }
908
909 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i32> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
910 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i32>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i32>`];
911 #[inline]
912 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i32>`]shr().(self, rhs: i32) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
913 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i32>`] {
914 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i32>`]shr().(rhs),
915 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i32>`]shr().(rhs),
916 }
917 }
918 }
919
920 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<i64> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
921 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i64>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i64>`];
922 #[inline]
923 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i64>`]shl().(self, rhs: i64) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i64>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
924 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<i64>`] {
925 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i64>`]shl().(rhs),
926 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i64>`]shl().(rhs),
927 }
928 }
929 }
930
931 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<i64> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
932 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i64>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i64>`];
933 #[inline]
934 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i64>`]shr().(self, rhs: i64) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i64>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
935 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<i64>`] {
936 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i64>`]shr().(rhs),
937 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i64>`]shr().(rhs),
938 }
939 }
940 }
941
942 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u8> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
943 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u8>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u8>`];
944 #[inline]
945 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u8>`]shl().(self, rhs: u8) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
946 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u8>`] {
947 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u8>`]shl().(rhs),
948 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u8>`]shl().(rhs),
949 }
950 }
951 }
952
953 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u8> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
954 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u8>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u8>`];
955 #[inline]
956 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u8>`]shr().(self, rhs: u8) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u8>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
957 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u8>`] {
958 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u8>`]shr().(rhs),
959 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u8>`]shr().(rhs),
960 }
961 }
962 }
963
964 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
965 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u16>`];
966 #[inline]
967 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u16>`]shl().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
968 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u16>`] {
969 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<Self>`]shl().(rhs),
970 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<Self>`]shl().(rhs),
971 }
972 }
973 }
974
975 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u16> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
976 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u16>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u16>`];
977 #[inline]
978 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u16>`]shr().(self, rhs: u16) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u16>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
979 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u16>`] {
980 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<Self>`]shr().(rhs),
981 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<Self>`]shr().(rhs),
982 }
983 }
984 }
985
986 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u32> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
987 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u32>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u32>`];
988 #[inline]
989 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u32>`]shl().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
990 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u32>`] {
991 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u32>`]shl().(rhs),
992 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u32>`]shl().(rhs),
993 }
994 }
995 }
996
997 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u32> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
998 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u32>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u32>`];
999 #[inline]
1000 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u32>`]shr().(self, rhs: u32) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u32>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
1001 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u32>`] {
1002 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u32>`]shr().(rhs),
1003 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u32>`]shr().(rhs),
1004 }
1005 }
1006 }
1007
1008 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<u64> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1009 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u64>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u64>`];
1010 #[inline]
1011 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u64>`]shl().(self, rhs: u64) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u64>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
1012 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<u64>`] {
1013 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u64>`]shl().(rhs),
1014 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u64>`]shl().(rhs),
1015 }
1016 }
1017 }
1018
1019 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<u64> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1020 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u64>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u64>`];
1021 #[inline]
1022 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u64>`]shr().(self, rhs: u64) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u64>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
1023 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<u64>`] {
1024 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u64>`]shr().(rhs),
1025 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u64>`]shr().(rhs),
1026 }
1027 }
1028 }
1029
1030 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<craterust-analyzer cargo glam 0.28.0 crate/::IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1031 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<IVec2>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<IVec2>`];
1032 #[inline]
1033 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<IVec2>`]shl().(self, rhs: craterust-analyzer cargo glam 0.28.0 crate/::IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<IVec2>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
1034 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<IVec2>`] {
1035 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i32>`]shl().(rhs.xrust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#x.),
1036 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<i32>`]shl().(rhs.yrust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#y.),
1037 }
1038 }
1039 }
1040
1041 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<craterust-analyzer cargo glam 0.28.0 crate/::IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1042 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<IVec2>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<IVec2>`];
1043 #[inline]
1044 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<IVec2>`]shr().(self, rhs: craterust-analyzer cargo glam 0.28.0 crate/::IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<IVec2>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
1045 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<IVec2>`] {
1046 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i32>`]shr().(rhs.xrust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#x.),
1047 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<i32>`]shr().(rhs.yrust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#y.),
1048 }
1049 }
1050 }
1051
1052 impl Shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#<craterust-analyzer cargo glam 0.28.0 crate/::UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1053 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<UVec2>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<UVec2>`];
1054 #[inline]
1055 fn shlrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<UVec2>`]shl().(self, rhs: craterust-analyzer cargo glam 0.28.0 crate/::UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<UVec2>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shl#Output# {
1056 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shl<UVec2>`] {
1057 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u32>`]shl().(rhs.xrust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#x.),
1058 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shlrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shl<u32>`]shl().(rhs.yrust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#y.),
1059 }
1060 }
1061 }
1062
1063 impl Shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#<craterust-analyzer cargo glam 0.28.0 crate/::UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1064 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<UVec2>`]Output# = Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<UVec2>`];
1065 #[inline]
1066 fn shrrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<UVec2>`]shr().(self, rhs: craterust-analyzer cargo glam 0.28.0 crate/::UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<UVec2>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/Shr#Output# {
1067 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Shr<UVec2>`] {
1068 xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.: self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u32>`]shr().(rhs.xrust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#x.),
1069 yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.: self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y..shrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u16][`Shr<u32>`]shr().(rhs.yrust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#y.),
1070 }
1071 }
1072 }
1073
1074 impl Indexrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#<usize> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1075 type Outputrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Index<usize>`]Output# = u16;
1076 #[inline]
1077 fn indexrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Index<usize>`]index().(&self, index: usize) -> &Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`Index<usize>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#Output# {
1078 match index {
1079 0 => &self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.,
1080 1 => &self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.,
1081 _ => panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/panic!!("index out of bounds"),
1082 }
1083 }
1084 }
1085
1086 impl IndexMutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#<usize> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1087 #[inline]
1088 fn index_mutrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`IndexMut<usize>`]index_mut().(&mut self, index: usize) -> &mut Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`IndexMut<usize>`]::Outputrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#Output# {
1089 match index {
1090 0 => &mut self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x.,
1091 1 => &mut self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.,
1092 _ => panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/panic!!("index out of bounds"),
1093 }
1094 }
1095 }
1096
1097 #[cfg(not(target_arch = "spirv"))]
1098 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 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1099 fn fmtrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][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# {
1100 writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "[{}, {}]", self.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x., self.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.)
1101 }
1102 }
1103
1104 #[cfg(not(target_arch = "spirv"))]
1105 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 U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1106 fn fmtrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][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# {
1107 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!!(U16Vec2))
1108 .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.28.0 u16/u16vec2/U16Vec2#x.)
1109 .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.28.0 u16/u16vec2/U16Vec2#y.)
1110 .finishrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugTuple<'a, 'b>`]finish().()
1111 }
1112 }
1113
1114 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<[u16; 2]> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1115 #[inline]
1116 fn fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<[u16; 2]>`]from().(a: [u16; 2]) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<[u16; 2]>`] {
1117 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<[u16; 2]>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]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().)
1118 }
1119 }
1120
1121 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for [u16; 2] {
1122 #[inline]
1123 fn fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[`[u16; 2]`][`From<U16Vec2>`]from().(v: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[`[u16; 2]`][`From<U16Vec2>`] {
1124 [v.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x., v.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.]
1125 }
1126 }
1127
1128 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<(u16, u16)> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1129 #[inline]
1130 fn fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<(u16, u16)>`]from().(t: (u16, u16)) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<(u16, u16)>`] {
1131 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<(u16, u16)>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(t.0, t.1)
1132 }
1133 }
1134
1135 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#> for (u16, u16) {
1136 #[inline]
1137 fn fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[`(u16, u16)`][`From<U16Vec2>`]from().(v: U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[`(u16, u16)`][`From<U16Vec2>`] {
1138 (v.xrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#x., v.yrust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2#y.)
1139 }
1140 }
1141
1142 impl TryFromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#<I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1143 type Errorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I16Vec2>`]Error# = corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::numrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/::TryFromIntErrorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/error/TryFromIntError#;
1144
1145 #[inline]
1146 fn try_fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I16Vec2>`]try_from().(v: I16Vec2rust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I16Vec2>`], Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I16Vec2>`]::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#Error#> {
1147 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I16Vec2>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<i16>`]try_from().(v.xrust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#x.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<i16>`]try_from().(v.yrust-analyzer cargo glam 0.28.0 i16/i16vec2/I16Vec2#y.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().))
1148 }
1149 }
1150
1151 impl TryFromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#<IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1152 type Errorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<IVec2>`]Error# = corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::numrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/::TryFromIntErrorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/error/TryFromIntError#;
1153
1154 #[inline]
1155 fn try_fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<IVec2>`]try_from().(v: IVec2rust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<IVec2>`], Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<IVec2>`]::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#Error#> {
1156 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<IVec2>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<i32>`]try_from().(v.xrust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#x.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<i32>`]try_from().(v.yrust-analyzer cargo glam 0.28.0 i32/ivec2/IVec2#y.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().))
1157 }
1158 }
1159
1160 impl TryFromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#<UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1161 type Errorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<UVec2>`]Error# = corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::numrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/::TryFromIntErrorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/error/TryFromIntError#;
1162
1163 #[inline]
1164 fn try_fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<UVec2>`]try_from().(v: UVec2rust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<UVec2>`], Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<UVec2>`]::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#Error#> {
1165 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<UVec2>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<u32>`]try_from().(v.xrust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#x.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<u32>`]try_from().(v.yrust-analyzer cargo glam 0.28.0 u32/uvec2/UVec2#y.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().))
1166 }
1167 }
1168
1169 impl TryFromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#<I64Vec2rust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1170 type Errorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I64Vec2>`]Error# = corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::numrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/::TryFromIntErrorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/error/TryFromIntError#;
1171
1172 #[inline]
1173 fn try_fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I64Vec2>`]try_from().(v: I64Vec2rust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2#) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I64Vec2>`], Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I64Vec2>`]::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#Error#> {
1174 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<I64Vec2>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<i64>`]try_from().(v.xrust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2#x.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<i64>`]try_from().(v.yrust-analyzer cargo glam 0.28.0 i64/i64vec2/I64Vec2#y.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().))
1175 }
1176 }
1177
1178 impl TryFromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#<U64Vec2rust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1179 type Errorrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<U64Vec2>`]Error# = corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::numrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/::TryFromIntErrorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/error/TryFromIntError#;
1180
1181 #[inline]
1182 fn try_fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<U64Vec2>`]try_from().(v: U64Vec2rust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2#) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<U64Vec2>`], Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<U64Vec2>`]::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryFrom#Error#> {
1183 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`TryFrom<U64Vec2>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<u64>`]try_from().(v.xrust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2#x.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., u16::try_fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`TryFrom<u64>`]try_from().(v.yrust-analyzer cargo glam 0.28.0 u64/u64vec2/U64Vec2#y.)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().))
1184 }
1185 }
1186
1187 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#> for U16Vec2rust-analyzer cargo glam 0.28.0 u16/u16vec2/U16Vec2# {
1188 #[inline]
1189 fn fromrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<BVec2>`]from().(v: BVec2rust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#) -> Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<BVec2>`] {
1190 Selfrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2][`From<BVec2>`]::newrust-analyzer cargo glam 0.28.0 u16/u16vec2/impl#[U16Vec2]new().(u16::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`From<bool>`]from().(v.xrust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#x.), u16::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`From<bool>`]from().(v.yrust-analyzer cargo glam 0.28.0 bool/bvec2/BVec2#y.))
1191 }
1192 }