Skip to main content

engage/generated/unity_engine/
rect.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rect-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rect/Rect.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct Rect {
17        pub m_x_min: f32,
18        pub m_y_min: f32,
19        pub m_width: f32,
20        pub m_height: f32,
21    }
22    impl ::unity::ClassIdentity for Rect {
23        const NAME: &'static str = "Rect";
24        const NAMESPACE: &'static str = "UnityEngine";
25
26        fn class() -> ::unity::Class {
27            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
28            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
29        }
30    }
31    impl ::unity::IlType for Rect {
32        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
33            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
34        }
35    }
36}
37
38#[cfg(feature = "unity_engine-rect-types")]
39pub use __types::*;
40
41#[cfg(feature = "unity_engine-rect")]
42impl Rect {
43    #[doc = "`get_zero()` overload"]
44    pub fn get_zero() -> crate::unity_engine::rect::Rect {
45        unsafe {
46            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ad30usize)as*mut u8,crate::unity_engine::rect::Rect;
47            )
48        }
49    }
50
51    #[doc = "`MinMaxRect(f32, f32, f32, f32)` overload"]
52    pub fn min_max_rect(
53        xmin: impl ::core::convert::Into<f32>,
54        ymin: impl ::core::convert::Into<f32>,
55        xmax: impl ::core::convert::Into<f32>,
56        ymax: impl ::core::convert::Into<f32>,
57    ) -> crate::unity_engine::rect::Rect {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ad50usize)as*mut u8,crate::unity_engine::rect::Rect;
60(f32)::core::convert::Into::into(xmin),(f32)::core::convert::Into::into(ymin),(f32)::core::convert::Into::into(xmax),(f32)::core::convert::Into::into(ymax))
61        }
62    }
63
64    #[doc = "`OrderMinMax(crate::unity_engine::rect::Rect)` overload"]
65    pub fn order_min_max(rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> crate::unity_engine::rect::Rect {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aff0usize)as*mut u8,crate::unity_engine::rect::Rect;
68(crate::unity_engine::rect::Rect)::core::convert::Into::into(rect))
69        }
70    }
71
72    #[doc = "`op_Inequality(crate::unity_engine::rect::Rect, crate::unity_engine::rect::Rect)` overload"]
73    pub fn op_inequality(
74        lhs: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
75        rhs: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
76    ) -> bool {
77        unsafe {
78            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b100usize)as*mut u8,bool;
79(crate::unity_engine::rect::Rect)::core::convert::Into::into(lhs),(crate::unity_engine::rect::Rect)::core::convert::Into::into(rhs))
80        }
81    }
82
83    #[doc = "`op_Equality(crate::unity_engine::rect::Rect, crate::unity_engine::rect::Rect)` overload"]
84    pub fn op_equality(
85        lhs: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
86        rhs: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
87    ) -> bool {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b130usize)as*mut u8,bool;
90(crate::unity_engine::rect::Rect)::core::convert::Into::into(lhs),(crate::unity_engine::rect::Rect)::core::convert::Into::into(rhs))
91        }
92    }
93}
94
95#[cfg(feature = "unity_engine-rect")]
96impl Rect {
97    #[doc = "`.ctor(f32, f32, f32, f32)` overload"]
98    pub fn ctor(
99        &mut self,
100        x: impl ::core::convert::Into<f32>,
101        y: impl ::core::convert::Into<f32>,
102        width: impl ::core::convert::Into<f32>,
103        height: impl ::core::convert::Into<f32>,
104    ) -> () {
105        unsafe {
106            ::unity::il2cpp_call!((::unity::module_base()+0x2f7acd0usize)as*mut u8,();
107(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y),(f32)::core::convert::Into::into(width),(f32)::core::convert::Into::into(height))
108        }
109    }
110
111    #[doc = "`.ctor(crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2)` overload"]
112    pub fn ctor_2(
113        &mut self,
114        position: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
115        size: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
116    ) -> () {
117        unsafe {
118            ::unity::il2cpp_call!((::unity::module_base()+0x2f7acf0usize)as*mut u8,();
119(*mut Rect)self as*mut Rect,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(position),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(size))
120        }
121    }
122
123    #[doc = "`.ctor(crate::unity_engine::rect::Rect)` overload"]
124    pub fn ctor_3(&mut self, source: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> () {
125        unsafe {
126            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ad10usize)as*mut u8,();
127(*mut Rect)self as*mut Rect,(crate::unity_engine::rect::Rect)::core::convert::Into::into(source))
128        }
129    }
130
131    #[doc = "`Set(f32, f32, f32, f32)` overload"]
132    pub fn set(
133        &mut self,
134        x: impl ::core::convert::Into<f32>,
135        y: impl ::core::convert::Into<f32>,
136        width: impl ::core::convert::Into<f32>,
137        height: impl ::core::convert::Into<f32>,
138    ) -> () {
139        unsafe {
140            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ad60usize)as*mut u8,();
141(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y),(f32)::core::convert::Into::into(width),(f32)::core::convert::Into::into(height))
142        }
143    }
144
145    #[doc = "`get_x()` overload"]
146    pub fn get_x(&mut self) -> f32 {
147        unsafe {
148            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ad80usize)as*mut u8,f32;
149(*mut Rect)self as*mut Rect)
150        }
151    }
152
153    #[doc = "`set_x(f32)` overload"]
154    pub fn set_x(&mut self, value: impl ::core::convert::Into<f32>) -> () {
155        unsafe {
156            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ad90usize)as*mut u8,();
157(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
158        }
159    }
160
161    #[doc = "`get_y()` overload"]
162    pub fn get_y(&mut self) -> f32 {
163        unsafe {
164            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ada0usize)as*mut u8,f32;
165(*mut Rect)self as*mut Rect)
166        }
167    }
168
169    #[doc = "`set_y(f32)` overload"]
170    pub fn set_y(&mut self, value: impl ::core::convert::Into<f32>) -> () {
171        unsafe {
172            ::unity::il2cpp_call!((::unity::module_base()+0x2f7adb0usize)as*mut u8,();
173(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
174        }
175    }
176
177    #[doc = "`get_position()` overload"]
178    pub fn get_position(&mut self) -> crate::unity_engine::vector2::Vector2 {
179        unsafe {
180            ::unity::il2cpp_call!((::unity::module_base()+0x2f7adc0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
181(*mut Rect)self as*mut Rect)
182        }
183    }
184
185    #[doc = "`set_position(crate::unity_engine::vector2::Vector2)` overload"]
186    pub fn set_position(&mut self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
187        unsafe {
188            ::unity::il2cpp_call!((::unity::module_base()+0x2f7add0usize)as*mut u8,();
189(*mut Rect)self as*mut Rect,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
190        }
191    }
192
193    #[doc = "`get_center()` overload"]
194    pub fn get_center(&mut self) -> crate::unity_engine::vector2::Vector2 {
195        unsafe {
196            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ade0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
197(*mut Rect)self as*mut Rect)
198        }
199    }
200
201    #[doc = "`set_center(crate::unity_engine::vector2::Vector2)` overload"]
202    pub fn set_center(&mut self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
203        unsafe {
204            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae00usize)as*mut u8,();
205(*mut Rect)self as*mut Rect,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
206        }
207    }
208
209    #[doc = "`get_min()` overload"]
210    pub fn get_min(&mut self) -> crate::unity_engine::vector2::Vector2 {
211        unsafe {
212            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae30usize)as*mut u8,crate::unity_engine::vector2::Vector2;
213(*mut Rect)self as*mut Rect)
214        }
215    }
216
217    #[doc = "`get_max()` overload"]
218    pub fn get_max(&mut self) -> crate::unity_engine::vector2::Vector2 {
219        unsafe {
220            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae60usize)as*mut u8,crate::unity_engine::vector2::Vector2;
221(*mut Rect)self as*mut Rect)
222        }
223    }
224
225    #[doc = "`get_width()` overload"]
226    pub fn get_width(&mut self) -> f32 {
227        unsafe {
228            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aea0usize)as*mut u8,f32;
229(*mut Rect)self as*mut Rect)
230        }
231    }
232
233    #[doc = "`set_width(f32)` overload"]
234    pub fn set_width(&mut self, value: impl ::core::convert::Into<f32>) -> () {
235        unsafe {
236            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aeb0usize)as*mut u8,();
237(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
238        }
239    }
240
241    #[doc = "`get_height()` overload"]
242    pub fn get_height(&mut self) -> f32 {
243        unsafe {
244            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aec0usize)as*mut u8,f32;
245(*mut Rect)self as*mut Rect)
246        }
247    }
248
249    #[doc = "`set_height(f32)` overload"]
250    pub fn set_height(&mut self, value: impl ::core::convert::Into<f32>) -> () {
251        unsafe {
252            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aed0usize)as*mut u8,();
253(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
254        }
255    }
256
257    #[doc = "`get_size()` overload"]
258    pub fn get_size(&mut self) -> crate::unity_engine::vector2::Vector2 {
259        unsafe {
260            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aee0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
261(*mut Rect)self as*mut Rect)
262        }
263    }
264
265    #[doc = "`get_xMin()` overload"]
266    pub fn get_x_min(&mut self) -> f32 {
267        unsafe {
268            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae40usize)as*mut u8,f32;
269(*mut Rect)self as*mut Rect)
270        }
271    }
272
273    #[doc = "`set_xMin(f32)` overload"]
274    pub fn set_x_min(&mut self, value: impl ::core::convert::Into<f32>) -> () {
275        unsafe {
276            ::unity::il2cpp_call!((::unity::module_base()+0x2f7aef0usize)as*mut u8,();
277(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
278        }
279    }
280
281    #[doc = "`get_yMin()` overload"]
282    pub fn get_y_min(&mut self) -> f32 {
283        unsafe {
284            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae50usize)as*mut u8,f32;
285(*mut Rect)self as*mut Rect)
286        }
287    }
288
289    #[doc = "`set_yMin(f32)` overload"]
290    pub fn set_y_min(&mut self, value: impl ::core::convert::Into<f32>) -> () {
291        unsafe {
292            ::unity::il2cpp_call!((::unity::module_base()+0x2f7af10usize)as*mut u8,();
293(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
294        }
295    }
296
297    #[doc = "`get_xMax()` overload"]
298    pub fn get_x_max(&mut self) -> f32 {
299        unsafe {
300            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae80usize)as*mut u8,f32;
301(*mut Rect)self as*mut Rect)
302        }
303    }
304
305    #[doc = "`set_xMax(f32)` overload"]
306    pub fn set_x_max(&mut self, value: impl ::core::convert::Into<f32>) -> () {
307        unsafe {
308            ::unity::il2cpp_call!((::unity::module_base()+0x2f7af30usize)as*mut u8,();
309(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
310        }
311    }
312
313    #[doc = "`get_yMax()` overload"]
314    pub fn get_y_max(&mut self) -> f32 {
315        unsafe {
316            ::unity::il2cpp_call!((::unity::module_base()+0x2f7ae90usize)as*mut u8,f32;
317(*mut Rect)self as*mut Rect)
318        }
319    }
320
321    #[doc = "`set_yMax(f32)` overload"]
322    pub fn set_y_max(&mut self, value: impl ::core::convert::Into<f32>) -> () {
323        unsafe {
324            ::unity::il2cpp_call!((::unity::module_base()+0x2f7af40usize)as*mut u8,();
325(*mut Rect)self as*mut Rect,(f32)::core::convert::Into::into(value))
326        }
327    }
328
329    #[doc = "`Contains(crate::unity_engine::vector2::Vector2)` overload"]
330    pub fn contains(&mut self, point: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> bool {
331        unsafe {
332            ::unity::il2cpp_call!((::unity::module_base()+0x2f7af50usize)as*mut u8,bool;
333(*mut Rect)self as*mut Rect,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(point))
334        }
335    }
336
337    #[doc = "`Contains(crate::unity_engine::vector3::Vector3)` overload"]
338    pub fn contains_2(&mut self, point: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> bool {
339        unsafe {
340            ::unity::il2cpp_call!((::unity::module_base()+0x2f7afa0usize)as*mut u8,bool;
341(*mut Rect)self as*mut Rect,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(point))
342        }
343    }
344
345    #[doc = "`Overlaps(crate::unity_engine::rect::Rect)` overload"]
346    pub fn overlaps(&mut self, other: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> bool {
347        unsafe {
348            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b020usize)as*mut u8,bool;
349(*mut Rect)self as*mut Rect,(crate::unity_engine::rect::Rect)::core::convert::Into::into(other))
350        }
351    }
352
353    #[doc = "`Overlaps(crate::unity_engine::rect::Rect, bool)` overload"]
354    pub fn overlaps_2(
355        &mut self,
356        other: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
357        allow_inverse: impl ::core::convert::Into<bool>,
358    ) -> bool {
359        unsafe {
360            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b070usize)as*mut u8,bool;
361(*mut Rect)self as*mut Rect,(crate::unity_engine::rect::Rect)::core::convert::Into::into(other),(bool)::core::convert::Into::into(allow_inverse))
362        }
363    }
364
365    #[doc = "`GetHashCode()` overload"]
366    pub fn get_hash_code(&mut self) -> i32 {
367        unsafe {
368            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b170usize)as*mut u8,i32;
369(*mut Rect)self as*mut Rect)
370        }
371    }
372
373    #[doc = "`Equals(crate::system::object::Object)` overload"]
374    pub fn equals(&mut self, other: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
375        unsafe {
376            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b210usize)as*mut u8,bool;
377(*mut Rect)self as*mut Rect,(crate::system::object::Object)::core::convert::Into::into(other))
378        }
379    }
380
381    #[doc = "`Equals(crate::unity_engine::rect::Rect)` overload"]
382    pub fn equals_2(&mut self, other: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> bool {
383        unsafe {
384            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b310usize)as*mut u8,bool;
385(*mut Rect)self as*mut Rect,(crate::unity_engine::rect::Rect)::core::convert::Into::into(other))
386        }
387    }
388
389    #[doc = "`ToString()` overload"]
390    pub fn to_string(&mut self) -> ::unity::Il2CppString {
391        unsafe {
392            ::unity::il2cpp_call!((::unity::module_base()+0x2f7b3d0usize)as*mut u8, ::unity::Il2CppString;
393(*mut Rect)self as*mut Rect)
394        }
395    }
396}
397
398#[cfg(feature = "unity_engine-rect")]
399impl Rect {
400    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
402    }
403
404    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
406    }
407
408    pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
410    }
411
412    pub fn get_zero_method_info() -> &'static ::unity::il2cpp::MethodInfo {
413        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
414    }
415
416    pub fn min_max_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
417        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
418    }
419
420    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
421        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
422    }
423
424    pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
425        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
426    }
427
428    pub fn set_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
429        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
430    }
431
432    pub fn get_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
433        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
434    }
435
436    pub fn set_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
437        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
438    }
439
440    pub fn get_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
441        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
442    }
443
444    pub fn set_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
445        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
446    }
447
448    pub fn get_center_method_info() -> &'static ::unity::il2cpp::MethodInfo {
449        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
450    }
451
452    pub fn set_center_method_info() -> &'static ::unity::il2cpp::MethodInfo {
453        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
454    }
455
456    pub fn get_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
458    }
459
460    pub fn get_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
462    }
463
464    pub fn get_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
466    }
467
468    pub fn set_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
470    }
471
472    pub fn get_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
474    }
475
476    pub fn set_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
478    }
479
480    pub fn get_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
482    }
483
484    pub fn get_x_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
486    }
487
488    pub fn set_x_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
490    }
491
492    pub fn get_y_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
494    }
495
496    pub fn set_y_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
498    }
499
500    pub fn get_x_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
502    }
503
504    pub fn set_x_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
505        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
506    }
507
508    pub fn get_y_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
510    }
511
512    pub fn set_y_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
513        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
514    }
515
516    pub fn contains_method_info() -> &'static ::unity::il2cpp::MethodInfo {
517        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
518    }
519
520    pub fn contains_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
521        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
522    }
523
524    pub fn order_min_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
525        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
526    }
527
528    pub fn overlaps_method_info() -> &'static ::unity::il2cpp::MethodInfo {
529        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
530    }
531
532    pub fn overlaps_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
533        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
534    }
535
536    pub fn op_inequality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
538    }
539
540    pub fn op_equality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
542    }
543
544    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
546    }
547
548    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
550    }
551
552    pub fn equals_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
553        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
554    }
555
556    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
557        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
558    }
559}
560
561#[cfg(feature = "unity_engine-rect")]
562#[doc(hidden)]
563pub mod prelude {
564    pub use super::Rect;
565    #[cfg(feature = "system-object")]
566    pub use crate::system::object::IObjectMethods;
567    #[cfg(feature = "system-valuetype")]
568    pub use crate::system::valuetype::IValueTypeMethods;
569    pub use crate::system::{object::IObject, valuetype::IValueType};
570}