Skip to main content

engage/generated/unity_engine/rendering/
bitarray32.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-bitarray32-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/rendering/bitarray32/BitArray32.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct BitArray32 {
17        pub data: u32,
18    }
19    impl ::unity::ClassIdentity for BitArray32 {
20        const NAME: &'static str = "BitArray32";
21        const NAMESPACE: &'static str = "UnityEngine.Rendering";
22
23        fn class() -> ::unity::Class {
24            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
25            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
26        }
27    }
28    impl ::unity::IlType for BitArray32 {
29        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
30            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
31        }
32    }
33}
34
35#[cfg(feature = "unity_engine-rendering-bitarray32-types")]
36pub use __types::*;
37
38#[cfg(feature = "unity_engine-rendering-bitarray32")]
39impl BitArray32 {
40    #[doc = "`op_OnesComplement(crate::unity_engine::rendering::bitarray32::BitArray32)` overload"]
41    pub fn op_ones_complement(
42        a: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
43    ) -> crate::unity_engine::rendering::bitarray32::BitArray32 {
44        unsafe {
45            ::unity::il2cpp_call!((::unity::module_base()+0x352cc20usize)as*mut u8,crate::unity_engine::rendering::bitarray32::BitArray32;
46(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(a))
47        }
48    }
49
50    #[doc = "`op_BitwiseOr(crate::unity_engine::rendering::bitarray32::BitArray32, crate::unity_engine::rendering::bitarray32::BitArray32)` overload"]
51    pub fn op_bitwise_or(
52        a: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
53        b: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
54    ) -> crate::unity_engine::rendering::bitarray32::BitArray32 {
55        unsafe {
56            ::unity::il2cpp_call!((::unity::module_base()+0x352cba0usize)as*mut u8,crate::unity_engine::rendering::bitarray32::BitArray32;
57(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(a),(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(b))
58        }
59    }
60
61    #[doc = "`op_BitwiseAnd(crate::unity_engine::rendering::bitarray32::BitArray32, crate::unity_engine::rendering::bitarray32::BitArray32)` overload"]
62    pub fn op_bitwise_and(
63        a: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
64        b: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
65    ) -> crate::unity_engine::rendering::bitarray32::BitArray32 {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x352caf0usize)as*mut u8,crate::unity_engine::rendering::bitarray32::BitArray32;
68(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(a),(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(b))
69        }
70    }
71
72    #[doc = "`op_Equality(crate::unity_engine::rendering::bitarray32::BitArray32, crate::unity_engine::rendering::bitarray32::BitArray32)` overload"]
73    pub fn op_equality(
74        a: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
75        b: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
76    ) -> bool {
77        unsafe {
78            ::unity::il2cpp_call!((::unity::module_base()+0x352cc30usize)as*mut u8,bool;
79(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(a),(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(b))
80        }
81    }
82
83    #[doc = "`op_Inequality(crate::unity_engine::rendering::bitarray32::BitArray32, crate::unity_engine::rendering::bitarray32::BitArray32)` overload"]
84    pub fn op_inequality(
85        a: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
86        b: impl ::core::convert::Into<crate::unity_engine::rendering::bitarray32::BitArray32>,
87    ) -> bool {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x352cc40usize)as*mut u8,bool;
90(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(a),(crate::unity_engine::rendering::bitarray32::BitArray32)::core::convert::Into::into(b))
91        }
92    }
93}
94
95#[cfg(feature = "unity_engine-rendering-bitarray32")]
96impl BitArray32 {
97    #[doc = "`get_capacity()` overload"]
98    pub fn get_capacity(&mut self) -> u32 {
99        unsafe {
100            ::unity::il2cpp_call!((::unity::module_base()+0x352c680usize)as*mut u8,u32;
101(*mut BitArray32)self as*mut BitArray32)
102        }
103    }
104
105    #[doc = "`get_allFalse()` overload"]
106    pub fn get_all_false(&mut self) -> bool {
107        unsafe {
108            ::unity::il2cpp_call!((::unity::module_base()+0x352c690usize)as*mut u8,bool;
109(*mut BitArray32)self as*mut BitArray32)
110        }
111    }
112
113    #[doc = "`get_allTrue()` overload"]
114    pub fn get_all_true(&mut self) -> bool {
115        unsafe {
116            ::unity::il2cpp_call!((::unity::module_base()+0x352c6a0usize)as*mut u8,bool;
117(*mut BitArray32)self as*mut BitArray32)
118        }
119    }
120
121    #[doc = "`get_humanizedVersion()` overload"]
122    pub fn get_humanized_version(&mut self) -> ::unity::Il2CppString {
123        unsafe {
124            ::unity::il2cpp_call!((::unity::module_base()+0x352c6b0usize)as*mut u8, ::unity::Il2CppString;
125(*mut BitArray32)self as*mut BitArray32)
126        }
127    }
128
129    #[doc = "`get_humanizedData()` overload"]
130    pub fn get_humanized_data(&mut self) -> ::unity::Il2CppString {
131        unsafe {
132            ::unity::il2cpp_call!((::unity::module_base()+0x352c730usize)as*mut u8, ::unity::Il2CppString;
133(*mut BitArray32)self as*mut BitArray32)
134        }
135    }
136
137    #[doc = "`get_Item(u32)` overload"]
138    pub fn get_item(&mut self, index: impl ::core::convert::Into<u32>) -> bool {
139        unsafe {
140            ::unity::il2cpp_call!((::unity::module_base()+0x352c8f0usize)as*mut u8,bool;
141(*mut BitArray32)self as*mut BitArray32,(u32)::core::convert::Into::into(index))
142        }
143    }
144
145    #[doc = "`set_Item(u32, bool)` overload"]
146    pub fn set_item(&mut self, index: impl ::core::convert::Into<u32>, value: impl ::core::convert::Into<bool>) -> () {
147        unsafe {
148            ::unity::il2cpp_call!((::unity::module_base()+0x352c910usize)as*mut u8,();
149(*mut BitArray32)self as*mut BitArray32,(u32)::core::convert::Into::into(index),(bool)::core::convert::Into::into(value))
150        }
151    }
152
153    #[doc = "`.ctor(u32)` overload"]
154    pub fn ctor(&mut self, init_value: impl ::core::convert::Into<u32>) -> () {
155        unsafe {
156            ::unity::il2cpp_call!((::unity::module_base()+0x352c970usize)as*mut u8,();
157(*mut BitArray32)self as*mut BitArray32,(u32)::core::convert::Into::into(init_value))
158        }
159    }
160
161    #[doc = "`.ctor(crate::system::collections::generic::ienumerable_1::IEnumerable_1<u32>)` overload"]
162    pub fn ctor_2(
163        &mut self,
164        bit_index_true: impl ::core::convert::Into<crate::system::collections::generic::ienumerable_1::IEnumerable_1<u32>>,
165    ) -> () {
166        unsafe {
167            ::unity::il2cpp_call!((::unity::module_base()+0x352c980usize)as*mut u8,();
168(*mut BitArray32)self as*mut BitArray32,(crate::system::collections::generic::ienumerable_1::IEnumerable_1<u32>)::core::convert::Into::into(bit_index_true))
169        }
170    }
171
172    #[doc = "`BitAnd(crate::unity_engine::rendering::ibitarray::IBitArray)` overload"]
173    pub fn bit_and(
174        &mut self,
175        other: impl ::core::convert::Into<crate::unity_engine::rendering::ibitarray::IBitArray>,
176    ) -> crate::unity_engine::rendering::ibitarray::IBitArray {
177        unsafe {
178            ::unity::il2cpp_call!((::unity::module_base()+0x352ca50usize)as*mut u8,crate::unity_engine::rendering::ibitarray::IBitArray;
179(*mut BitArray32)self as*mut BitArray32,(crate::unity_engine::rendering::ibitarray::IBitArray)::core::convert::Into::into(other))
180        }
181    }
182
183    #[doc = "`BitOr(crate::unity_engine::rendering::ibitarray::IBitArray)` overload"]
184    pub fn bit_or(
185        &mut self,
186        other: impl ::core::convert::Into<crate::unity_engine::rendering::ibitarray::IBitArray>,
187    ) -> crate::unity_engine::rendering::ibitarray::IBitArray {
188        unsafe {
189            ::unity::il2cpp_call!((::unity::module_base()+0x352cb00usize)as*mut u8,crate::unity_engine::rendering::ibitarray::IBitArray;
190(*mut BitArray32)self as*mut BitArray32,(crate::unity_engine::rendering::ibitarray::IBitArray)::core::convert::Into::into(other))
191        }
192    }
193
194    #[doc = "`BitNot()` overload"]
195    pub fn bit_not(&mut self) -> crate::unity_engine::rendering::ibitarray::IBitArray {
196        unsafe {
197            ::unity::il2cpp_call!((::unity::module_base()+0x352cbb0usize)as*mut u8,crate::unity_engine::rendering::ibitarray::IBitArray;
198(*mut BitArray32)self as*mut BitArray32)
199        }
200    }
201
202    #[doc = "`Equals(crate::system::object::Object)` overload"]
203    pub fn equals(&mut self, obj: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
204        unsafe {
205            ::unity::il2cpp_call!((::unity::module_base()+0x352cc50usize)as*mut u8,bool;
206(*mut BitArray32)self as*mut BitArray32,(crate::system::object::Object)::core::convert::Into::into(obj))
207        }
208    }
209
210    #[doc = "`GetHashCode()` overload"]
211    pub fn get_hash_code(&mut self) -> i32 {
212        unsafe {
213            ::unity::il2cpp_call!((::unity::module_base()+0x352cce0usize)as*mut u8,i32;
214(*mut BitArray32)self as*mut BitArray32)
215        }
216    }
217}
218
219#[cfg(feature = "unity_engine-rendering-bitarray32")]
220impl BitArray32 {
221    pub fn get_capacity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
223    }
224
225    pub fn get_all_false_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
227    }
228
229    pub fn get_all_true_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
231    }
232
233    pub fn get_humanized_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
235    }
236
237    pub fn get_humanized_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
239    }
240
241    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
243    }
244
245    pub fn set_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
247    }
248
249    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
251    }
252
253    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
255    }
256
257    pub fn bit_and_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
259    }
260
261    pub fn bit_or_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
263    }
264
265    pub fn bit_not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
267    }
268
269    pub fn op_ones_complement_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
271    }
272
273    pub fn op_bitwise_or_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
275    }
276
277    pub fn op_bitwise_and_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
279    }
280
281    pub fn op_equality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
282        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
283    }
284
285    pub fn op_inequality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
286        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
287    }
288
289    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
290        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
291    }
292
293    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
294        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
295    }
296}
297
298#[cfg(feature = "unity_engine-rendering-bitarray32")]
299#[doc(hidden)]
300pub mod prelude {
301    pub use super::BitArray32;
302    #[cfg(feature = "system-object")]
303    pub use crate::system::object::IObjectMethods;
304    #[cfg(feature = "system-valuetype")]
305    pub use crate::system::valuetype::IValueTypeMethods;
306    pub use crate::system::{object::IObject, valuetype::IValueType};
307}