1#[cfg(feature = "unity_engine-rendering-debugui-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_FloatField.md"))]
15 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.FloatField")]
16 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<f32>)]
17 pub struct DebugUI_FloatField {
18 #[offset(80)]
19 #[rename(name = "min")]
20 pub min: crate::system::func_1::Func_1<f32>,
21 #[offset(88)]
22 #[rename(name = "max")]
23 pub max: crate::system::func_1::Func_1<f32>,
24 #[offset(96)]
25 #[rename(name = "incStep")]
26 pub inc_step: f32,
27 #[offset(100)]
28 #[rename(name = "incStepMult")]
29 pub inc_step_mult: f32,
30 #[offset(104)]
31 #[rename(name = "decimals")]
32 pub decimals: i32,
33 }
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_EnumField.md"))]
36 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.EnumField")]
37 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<i32>)]
38 pub struct DebugUI_EnumField {
39 #[offset(80)]
40 #[rename(name = "enumNames")]
41 pub enum_names: ::unity::Array<crate::unity_engine::guicontent::GUIContent>,
42 #[offset(88)]
43 #[rename(name = "enumValues")]
44 pub enum_values: ::unity::Array<i32>,
45 #[offset(96)]
46 #[rename(name = "quickSeparators")]
47 pub quick_separators: ::unity::Array<i32>,
48 #[offset(104)]
49 #[rename(name = "indexes")]
50 pub indexes: ::unity::Array<i32>,
51 }
52
53 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Flags.md"))]
54 #[repr(C)]
55 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
56 pub struct DebugUI_Flags {
57 pub value: i32,
58 }
59 impl ::unity::ClassIdentity for DebugUI_Flags {
60 const NAME: &'static str = "DebugUI.Flags";
61 const NAMESPACE: &'static str = "UnityEngine.Rendering";
62
63 fn class() -> ::unity::Class {
64 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
65 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
66 }
67 }
68 impl ::unity::IlType for DebugUI_Flags {
69 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
70 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
71 }
72 }
73 impl DebugUI_Flags {
74 pub fn none() -> Self {
75 Self { value: 0 }
76 }
77
78 pub fn editor_only() -> Self {
79 Self { value: 2 }
80 }
81
82 pub fn runtime_only() -> Self {
83 Self { value: 4 }
84 }
85
86 pub fn editor_force_update() -> Self {
87 Self { value: 8 }
88 }
89 }
90
91 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Table.md"))]
92 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Table")]
93 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Container)]
94 pub struct DebugUI_Table {
95 #[offset(64)]
96 #[rename(name = "isReadOnly")]
97 pub is_read_only: bool,
98 #[offset(72)]
99 #[rename(name = "m_Header")]
100 pub m_header: ::unity::Array<bool>,
101 }
102
103 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Container.md"))]
104 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Container")]
105 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Widget)]
106 pub struct DebugUI_Container {}
107
108 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_IContainer.md"))]
109 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.IContainer")]
110 pub struct DebugUI_IContainer {}
111
112 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Foldout.md"))]
113 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Foldout")]
114 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Container)]
115 pub struct DebugUI_Foldout {
116 #[offset(64)]
117 #[rename(name = "opened")]
118 pub opened: bool,
119 }
120
121 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Value.md"))]
122 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Value")]
123 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Widget)]
124 pub struct DebugUI_Value {
125 #[offset(64)]
126 #[rename(name = "refreshRate")]
127 pub refresh_rate: f32,
128 }
129
130 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Field_1.md"))]
131 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Field`1")]
132 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Widget)]
133 #[parent(crate::system::object::Object)]
134 pub struct DebugUI_Field_1<T0: ::unity::ClassIdentity> {
135 #[rename(name = "onValueChanged")]
136 pub on_value_changed: crate::system::action_2::Action_2<crate::unity_engine::rendering::debugui::DebugUI_Field_1<T0>, T0>,
137 }
138
139 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Widget.md"))]
140 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Widget")]
141 #[parent(crate::system::object::Object)]
142 pub struct DebugUI_Widget {
143 #[offset(16)]
144 #[rename(name = "m_Panel")]
145 pub m_panel: crate::unity_engine::rendering::debugui::DebugUI_Panel,
146 #[offset(24)]
147 #[rename(name = "m_Parent")]
148 pub m_parent: crate::unity_engine::rendering::debugui::DebugUI_IContainer,
149 }
150
151 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_HistoryBoolField.md"))]
152 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.HistoryBoolField")]
153 #[parent(crate::unity_engine::rendering::debugui::DebugUI_BoolField)]
154 pub struct DebugUI_HistoryBoolField {}
155
156 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Vector3Field.md"))]
157 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Vector3Field")]
158 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<crate::unity_engine::vector3::Vector3>)]
159 pub struct DebugUI_Vector3Field {
160 #[offset(80)]
161 #[rename(name = "incStep")]
162 pub inc_step: f32,
163 #[offset(84)]
164 #[rename(name = "incStepMult")]
165 pub inc_step_mult: f32,
166 #[offset(88)]
167 #[rename(name = "decimals")]
168 pub decimals: i32,
169 }
170
171 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_UIntField.md"))]
172 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.UIntField")]
173 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<u32>)]
174 pub struct DebugUI_UIntField {
175 #[offset(80)]
176 #[rename(name = "min")]
177 pub min: crate::system::func_1::Func_1<u32>,
178 #[offset(88)]
179 #[rename(name = "max")]
180 pub max: crate::system::func_1::Func_1<u32>,
181 #[offset(96)]
182 #[rename(name = "incStep")]
183 pub inc_step: u32,
184 #[offset(100)]
185 #[rename(name = "intStepMult")]
186 pub int_step_mult: u32,
187 }
188
189 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Panel.md"))]
190 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Panel")]
191 #[parent(crate::system::object::Object)]
192 pub struct DebugUI_Panel {
193 #[offset(48)]
194 #[rename(name = "onSetDirty")]
195 pub on_set_dirty: crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>,
196 }
197
198 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_BoolField.md"))]
199 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.BoolField")]
200 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<bool>)]
201 pub struct DebugUI_BoolField {}
202
203 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_BitField.md"))]
204 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.BitField")]
205 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<crate::system::r#enum::Enum>)]
206 pub struct DebugUI_BitField {
207 #[offset(96)]
208 #[rename(name = "m_EnumType")]
209 pub m_enum_type: ::unity::SystemType,
210 }
211
212 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI.md"))]
213 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI")]
214 #[parent(crate::system::object::Object)]
215 pub struct DebugUI {}
216
217 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Table_Row.md"))]
218 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Table.Row")]
219 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Foldout)]
220 pub struct DebugUI_Table_Row {}
221
222 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Vector2Field.md"))]
223 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Vector2Field")]
224 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<crate::unity_engine::vector2::Vector2>)]
225 pub struct DebugUI_Vector2Field {
226 #[offset(80)]
227 #[rename(name = "incStep")]
228 pub inc_step: f32,
229 #[offset(84)]
230 #[rename(name = "incStepMult")]
231 pub inc_step_mult: f32,
232 #[offset(88)]
233 #[rename(name = "decimals")]
234 pub decimals: i32,
235 }
236
237 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_VBox.md"))]
238 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.VBox")]
239 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Container)]
240 pub struct DebugUI_VBox {}
241
242 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_IValueField.md"))]
243 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.IValueField")]
244 pub struct DebugUI_IValueField {}
245
246 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_IntField.md"))]
247 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.IntField")]
248 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<i32>)]
249 pub struct DebugUI_IntField {
250 #[offset(80)]
251 #[rename(name = "min")]
252 pub min: crate::system::func_1::Func_1<i32>,
253 #[offset(88)]
254 #[rename(name = "max")]
255 pub max: crate::system::func_1::Func_1<i32>,
256 #[offset(96)]
257 #[rename(name = "incStep")]
258 pub inc_step: i32,
259 #[offset(100)]
260 #[rename(name = "intStepMult")]
261 pub int_step_mult: i32,
262 }
263
264 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Vector4Field.md"))]
265 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Vector4Field")]
266 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<crate::unity_engine::vector4::Vector4>)]
267 pub struct DebugUI_Vector4Field {
268 #[offset(80)]
269 #[rename(name = "incStep")]
270 pub inc_step: f32,
271 #[offset(84)]
272 #[rename(name = "incStepMult")]
273 pub inc_step_mult: f32,
274 #[offset(88)]
275 #[rename(name = "decimals")]
276 pub decimals: i32,
277 }
278
279 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_ColorField.md"))]
280 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.ColorField")]
281 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Field_1<crate::unity_engine::color::Color>)]
282 pub struct DebugUI_ColorField {
283 #[offset(80)]
284 #[rename(name = "hdr")]
285 pub hdr: bool,
286 #[offset(81)]
287 #[rename(name = "showAlpha")]
288 pub show_alpha: bool,
289 #[offset(82)]
290 #[rename(name = "showPicker")]
291 pub show_picker: bool,
292 #[offset(84)]
293 #[rename(name = "incStep")]
294 pub inc_step: f32,
295 #[offset(88)]
296 #[rename(name = "incStepMult")]
297 pub inc_step_mult: f32,
298 #[offset(92)]
299 #[rename(name = "decimals")]
300 pub decimals: i32,
301 }
302
303 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_HistoryEnumField.md"))]
304 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.HistoryEnumField")]
305 #[parent(crate::unity_engine::rendering::debugui::DebugUI_EnumField)]
306 pub struct DebugUI_HistoryEnumField {}
307
308 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_Button.md"))]
309 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.Button")]
310 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Widget)]
311 pub struct DebugUI_Button {}
312
313 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugui/DebugUI_HBox.md"))]
314 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugUI.HBox")]
315 #[parent(crate::unity_engine::rendering::debugui::DebugUI_Container)]
316 pub struct DebugUI_HBox {}
317}
318
319#[cfg(feature = "unity_engine-rendering-debugui-types")]
320pub use __types::*;
321
322#[cfg(feature = "unity_engine-rendering-debugui")]
323pub trait IDebugUI_FloatFieldMethods: IDebugUI_FloatField {
324 #[doc = "`ValidateValue(f32)` overload"]
325 fn validate_value(self, value: impl ::core::convert::Into<f32>) -> f32 {
326 unsafe {
327 let __receiver = <DebugUI_FloatField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328 {
329 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
330 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
331 panic!(
332 "unity: virtual slot {}
333 out of range (vtable len {}
334) on the runtime class behind {}
335 (method `{}
336`)",
337 15usize,
338 __vt.len(),
339 <DebugUI_FloatField as ::unity::ClassIdentity>::NAME,
340 "ValidateValue",
341 )
342 });
343 let __inner: extern "C" fn(DebugUI_FloatField, f32, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
344 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
345 __inner(__receiver, ::core::convert::Into::into(value), __mi)
346 }
347 }
348 }
349 #[doc = "`.ctor()` overload"]
350 fn ctor(self) -> () {
351 unsafe {
352 let __receiver = <DebugUI_FloatField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
353 ::unity::il2cpp_call!((::unity::module_base()+0x33eb940usize)as*mut u8,();
354(DebugUI_FloatField)__receiver)
355 }
356 }
357}
358
359#[cfg(feature = "unity_engine-rendering-debugui")]
360impl<__T: IDebugUI_FloatField> IDebugUI_FloatFieldMethods for __T {}
361
362#[cfg(feature = "unity_engine-rendering-debugui")]
363impl DebugUI_FloatField {
364 pub fn validate_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
366 }
367
368 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
370 }
371}
372
373#[cfg(feature = "unity_engine-rendering-debugui")]
374impl DebugUI_FloatField {
375 #[doc = "Direct (non-virtual) call to `DebugUI_FloatField`'s own `ValidateValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
376 pub unsafe fn validate_value(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> f32 {
377 let __mi = Self::validate_value_method_info();
378 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
379 __inner(this.into(), value, ::core::option::Option::None)
380 }
381}
382
383#[cfg(feature = "unity_engine-rendering-debugui")]
384impl DebugUI_FloatField {
385 #[doc = "`.ctor()` — no args"]
386 pub fn new() -> Self {
387 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
388 panic!(
389 "{}
390::{}
391 failed to instantiate",
392 ::core::stringify!(DebugUI_FloatField),
393 ::core::stringify!(new),
394 )
395 });
396 <Self as IDebugUI_FloatFieldMethods>::ctor(this);
397 this
398 }
399}
400
401#[cfg(feature = "unity_engine-rendering-debugui")]
402pub trait IDebugUI_EnumFieldMethods: IDebugUI_EnumField {
403 #[doc = "`get_getIndex()` overload"]
404 fn get_get_index(self) -> crate::system::func_1::Func_1<i32> {
405 unsafe {
406 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407 ::unity::il2cpp_call!((::unity::module_base()+0x33eb120usize)as*mut u8,crate::system::func_1::Func_1<i32> ;
408(DebugUI_EnumField)__receiver)
409 }
410 }
411 #[doc = "`set_getIndex(crate::system::func_1::Func_1<i32>)` overload"]
412 fn set_get_index(self, value: impl ::core::convert::Into<crate::system::func_1::Func_1<i32>>) -> () {
413 unsafe {
414 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415 ::unity::il2cpp_call!((::unity::module_base()+0x33eb130usize)as*mut u8,();
416(DebugUI_EnumField)__receiver,(crate::system::func_1::Func_1<i32>)::core::convert::Into::into(value))
417 }
418 }
419 #[doc = "`get_setIndex()` overload"]
420 fn get_set_index(self) -> crate::system::action_1::Action_1<i32> {
421 unsafe {
422 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423 ::unity::il2cpp_call!((::unity::module_base()+0x33eb140usize)as*mut u8,crate::system::action_1::Action_1<i32> ;
424(DebugUI_EnumField)__receiver)
425 }
426 }
427 #[doc = "`set_setIndex(crate::system::action_1::Action_1<i32>)` overload"]
428 fn set_set_index(self, value: impl ::core::convert::Into<crate::system::action_1::Action_1<i32>>) -> () {
429 unsafe {
430 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431 ::unity::il2cpp_call!((::unity::module_base()+0x33eb150usize)as*mut u8,();
432(DebugUI_EnumField)__receiver,(crate::system::action_1::Action_1<i32>)::core::convert::Into::into(value))
433 }
434 }
435 #[doc = "`get_currentIndex()` overload"]
436 fn get_current_index(self) -> i32 {
437 unsafe {
438 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439 ::unity::il2cpp_call!((::unity::module_base()+0x33eb160usize)as*mut u8,i32;
440(DebugUI_EnumField)__receiver)
441 }
442 }
443 #[doc = "`set_currentIndex(i32)` overload"]
444 fn set_current_index(self, value: impl ::core::convert::Into<i32>) -> () {
445 unsafe {
446 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
447 ::unity::il2cpp_call!((::unity::module_base()+0x33eb1c0usize)as*mut u8,();
448(DebugUI_EnumField)__receiver,(i32)::core::convert::Into::into(value))
449 }
450 }
451 #[doc = "`set_autoEnum(::unity::SystemType)` overload"]
452 fn set_auto_enum(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
453 unsafe {
454 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455 ::unity::il2cpp_call!((::unity::module_base()+0x33eb220usize)as*mut u8,();
456(DebugUI_EnumField)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
457 }
458 }
459 #[doc = "`InitQuickSeparators()` overload"]
460 fn init_quick_separators(self) -> () {
461 unsafe {
462 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463 ::unity::il2cpp_call!((::unity::module_base()+0x33eb5e0usize)as*mut u8,();
464(DebugUI_EnumField)__receiver)
465 }
466 }
467 #[doc = "`InitIndexes()` overload"]
468 fn init_indexes(self) -> () {
469 unsafe {
470 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471 ::unity::il2cpp_call!((::unity::module_base()+0x33eb4e0usize)as*mut u8,();
472(DebugUI_EnumField)__receiver)
473 }
474 }
475 #[doc = "`.ctor()` overload"]
476 fn ctor(self) -> () {
477 unsafe {
478 let __receiver = <DebugUI_EnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479 ::unity::il2cpp_call!((::unity::module_base()+0x33eb830usize)as*mut u8,();
480(DebugUI_EnumField)__receiver)
481 }
482 }
483}
484
485#[cfg(feature = "unity_engine-rendering-debugui")]
486impl<__T: IDebugUI_EnumField> IDebugUI_EnumFieldMethods for __T {}
487
488#[cfg(feature = "unity_engine-rendering-debugui")]
489impl DebugUI_EnumField {
490 pub fn get_get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
492 }
493
494 pub fn set_get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
496 }
497
498 pub fn get_set_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
500 }
501
502 pub fn set_set_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
504 }
505
506 pub fn get_current_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
508 }
509
510 pub fn set_current_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
512 }
513
514 pub fn set_auto_enum_method_info() -> &'static ::unity::il2cpp::MethodInfo {
515 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
516 }
517
518 pub fn init_quick_separators_method_info() -> &'static ::unity::il2cpp::MethodInfo {
519 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
520 }
521
522 pub fn init_indexes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
523 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
524 }
525
526 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
527 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
528 }
529}
530
531#[cfg(feature = "unity_engine-rendering-debugui")]
532impl DebugUI_EnumField {
533 #[doc = "`.ctor()` — no args"]
534 pub fn new() -> Self {
535 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
536 panic!(
537 "{}
538::{}
539 failed to instantiate",
540 ::core::stringify!(DebugUI_EnumField),
541 ::core::stringify!(new),
542 )
543 });
544 <Self as IDebugUI_EnumFieldMethods>::ctor(this);
545 this
546 }
547}
548
549#[cfg(feature = "unity_engine-rendering-debugui")]
550pub trait IDebugUI_TableMethods: IDebugUI_Table {
551 #[doc = "`.ctor()` overload"]
552 fn ctor(self) -> () {
553 unsafe {
554 let __receiver = <DebugUI_Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
555 ::unity::il2cpp_call!((::unity::module_base()+0x33ec6f0usize)as*mut u8,();
556(DebugUI_Table)__receiver)
557 }
558 }
559 #[doc = "`SetColumnVisibility(i32, bool)` overload"]
560 fn set_column_visibility(self, index: impl ::core::convert::Into<i32>, visible: impl ::core::convert::Into<bool>) -> () {
561 unsafe {
562 let __receiver = <DebugUI_Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
563 ::unity::il2cpp_call!((::unity::module_base()+0x33ec750usize)as*mut u8,();
564(DebugUI_Table)__receiver,(i32)::core::convert::Into::into(index),(bool)::core::convert::Into::into(visible))
565 }
566 }
567 #[doc = "`GetColumnVisibility(i32)` overload"]
568 fn get_column_visibility(self, index: impl ::core::convert::Into<i32>) -> bool {
569 unsafe {
570 let __receiver = <DebugUI_Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
571 ::unity::il2cpp_call!((::unity::module_base()+0x33ec9f0usize)as*mut u8,bool;
572(DebugUI_Table)__receiver,(i32)::core::convert::Into::into(index))
573 }
574 }
575 #[doc = "`get_VisibleColumns()` overload"]
576 fn get_visible_columns(self) -> ::unity::Array<bool> {
577 unsafe {
578 let __receiver = <DebugUI_Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
579 ::unity::il2cpp_call!((::unity::module_base()+0x33ec7a0usize)as*mut u8, ::unity::Array<bool> ;
580(DebugUI_Table)__receiver)
581 }
582 }
583 #[doc = "`OnItemAdded(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
584 fn on_item_added(
585 self,
586 sender: impl ::core::convert::Into<
587 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
588 >,
589 e: impl ::core::convert::Into<
590 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
591 >,
592 ) -> () {
593 unsafe {
594 let __receiver = <DebugUI_Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
595 {
596 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
597 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
598 panic!(
599 "unity: virtual slot {}
600 out of range (vtable len {}
601) on the runtime class behind {}
602 (method `{}
603`)",
604 16usize,
605 __vt.len(),
606 <DebugUI_Table as ::unity::ClassIdentity>::NAME,
607 "OnItemAdded",
608 )
609 });
610 let __inner: extern "C" fn(
611 DebugUI_Table,
612 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
613 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<
614 crate::unity_engine::rendering::debugui::DebugUI_Widget,
615 >,
616 ::unity::OptionalMethod,
617 ) -> () = ::core::mem::transmute(__vi.method_ptr);
618 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
619 __inner(__receiver, ::core::convert::Into::into(sender), ::core::convert::Into::into(e), __mi)
620 }
621 }
622 }
623 #[doc = "`OnItemRemoved(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
624 fn on_item_removed(
625 self,
626 sender: impl ::core::convert::Into<
627 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
628 >,
629 e: impl ::core::convert::Into<
630 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
631 >,
632 ) -> () {
633 unsafe {
634 let __receiver = <DebugUI_Table as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
635 {
636 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
637 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
638 panic!(
639 "unity: virtual slot {}
640 out of range (vtable len {}
641) on the runtime class behind {}
642 (method `{}
643`)",
644 17usize,
645 __vt.len(),
646 <DebugUI_Table as ::unity::ClassIdentity>::NAME,
647 "OnItemRemoved",
648 )
649 });
650 let __inner: extern "C" fn(
651 DebugUI_Table,
652 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
653 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<
654 crate::unity_engine::rendering::debugui::DebugUI_Widget,
655 >,
656 ::unity::OptionalMethod,
657 ) -> () = ::core::mem::transmute(__vi.method_ptr);
658 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
659 __inner(__receiver, ::core::convert::Into::into(sender), ::core::convert::Into::into(e), __mi)
660 }
661 }
662 }
663}
664
665#[cfg(feature = "unity_engine-rendering-debugui")]
666impl<__T: IDebugUI_Table> IDebugUI_TableMethods for __T {}
667
668#[cfg(feature = "unity_engine-rendering-debugui")]
669impl DebugUI_Table {
670 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
671 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
672 }
673
674 pub fn set_column_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
675 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
676 }
677
678 pub fn get_column_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
679 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
680 }
681
682 pub fn get_visible_columns_method_info() -> &'static ::unity::il2cpp::MethodInfo {
683 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
684 }
685
686 pub fn on_item_added_method_info() -> &'static ::unity::il2cpp::MethodInfo {
687 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
688 }
689
690 pub fn on_item_removed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
691 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
692 }
693}
694
695#[cfg(feature = "unity_engine-rendering-debugui")]
696impl DebugUI_Table {
697 #[doc = "Direct (non-virtual) call to `DebugUI_Table`'s own `OnItemAdded`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
698 pub unsafe fn on_item_added(
699 this: impl ::core::convert::Into<::unity::IlInstance>,
700 sender: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
701 e: crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
702 ) -> () {
703 let __mi = Self::on_item_added_method_info();
704 let __inner: extern "C" fn(
705 ::unity::IlInstance,
706 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
707 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
708 ::unity::OptionalMethod,
709 ) -> () = ::core::mem::transmute(__mi.method_ptr);
710 __inner(this.into(), sender, e, ::core::option::Option::None)
711 }
712
713 #[doc = "Direct (non-virtual) call to `DebugUI_Table`'s own `OnItemRemoved`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
714 pub unsafe fn on_item_removed(
715 this: impl ::core::convert::Into<::unity::IlInstance>,
716 sender: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
717 e: crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
718 ) -> () {
719 let __mi = Self::on_item_removed_method_info();
720 let __inner: extern "C" fn(
721 ::unity::IlInstance,
722 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
723 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
724 ::unity::OptionalMethod,
725 ) -> () = ::core::mem::transmute(__mi.method_ptr);
726 __inner(this.into(), sender, e, ::core::option::Option::None)
727 }
728}
729
730#[cfg(feature = "unity_engine-rendering-debugui")]
731impl DebugUI_Table {
732 #[doc = "`.ctor()` — no args"]
733 pub fn new() -> Self {
734 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
735 panic!(
736 "{}
737::{}
738 failed to instantiate",
739 ::core::stringify!(DebugUI_Table),
740 ::core::stringify!(new),
741 )
742 });
743 <Self as IDebugUI_TableMethods>::ctor(this);
744 this
745 }
746}
747
748#[cfg(feature = "unity_engine-rendering-debugui")]
749pub trait IDebugUI_ContainerMethods: IDebugUI_Container {
750 #[doc = "`get_children()` overload"]
751 fn get_children(
752 self,
753 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget> {
754 unsafe {
755 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
756 {
757 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
758 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
759 panic!(
760 "unity: virtual slot {}
761 out of range (vtable len {}
762) on the runtime class behind {}
763 (method `{}
764`)",
765 12usize,
766 __vt.len(),
767 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
768 "get_children",
769 )
770 });
771 let __inner: extern "C" fn(
772 DebugUI_Container,
773 ::unity::OptionalMethod,
774 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<
775 crate::unity_engine::rendering::debugui::DebugUI_Widget,
776 > = ::core::mem::transmute(__vi.method_ptr);
777 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
778 __inner(__receiver, __mi)
779 }
780 }
781 }
782 #[doc = "`set_children(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
783 fn set_children(
784 self,
785 value: impl ::core::convert::Into<
786 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
787 >,
788 ) -> () {
789 unsafe {
790 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
791 ::unity::il2cpp_call!((::unity::module_base()+0x33ea310usize)as*mut u8,();
792(DebugUI_Container)__receiver,(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)::core::convert::Into::into(value))
793 }
794 }
795 #[doc = "`get_panel()` overload"]
796 fn get_panel(self) -> crate::unity_engine::rendering::debugui::DebugUI_Panel {
797 unsafe {
798 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
799 {
800 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
801 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
802 panic!(
803 "unity: virtual slot {}
804 out of range (vtable len {}
805) on the runtime class behind {}
806 (method `{}
807`)",
808 4usize,
809 __vt.len(),
810 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
811 "get_panel",
812 )
813 });
814 let __inner: extern "C" fn(DebugUI_Container, ::unity::OptionalMethod) -> crate::unity_engine::rendering::debugui::DebugUI_Panel =
815 ::core::mem::transmute(__vi.method_ptr);
816 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
817 __inner(__receiver, __mi)
818 }
819 }
820 }
821 #[doc = "`set_panel(crate::unity_engine::rendering::debugui::DebugUI_Panel)` overload"]
822 fn set_panel(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Panel>) -> () {
823 unsafe {
824 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
825 {
826 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
827 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
828 panic!(
829 "unity: virtual slot {}
830 out of range (vtable len {}
831) on the runtime class behind {}
832 (method `{}
833`)",
834 5usize,
835 __vt.len(),
836 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
837 "set_panel",
838 )
839 });
840 let __inner: extern "C" fn(DebugUI_Container, crate::unity_engine::rendering::debugui::DebugUI_Panel, ::unity::OptionalMethod) -> () =
841 ::core::mem::transmute(__vi.method_ptr);
842 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
843 __inner(__receiver, ::core::convert::Into::into(value), __mi)
844 }
845 }
846 }
847 #[doc = "`.ctor()` overload"]
848 fn ctor(self) -> () {
849 unsafe {
850 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
851 ::unity::il2cpp_call!((::unity::module_base()+0x33ea580usize)as*mut u8,();
852(DebugUI_Container)__receiver)
853 }
854 }
855 #[doc = "`.ctor(::unity::Il2CppString, crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
856 fn ctor_2(
857 self,
858 display_name: impl ::core::convert::Into<::unity::Il2CppString>,
859 children: impl ::core::convert::Into<
860 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
861 >,
862 ) -> () {
863 unsafe {
864 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
865 ::unity::il2cpp_call!((::unity::module_base()+0x33ea710usize)as*mut u8,();
866(DebugUI_Container)__receiver,(::unity::Il2CppString)::core::convert::Into::into(display_name),(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)::core::convert::Into::into(children))
867 }
868 }
869 #[doc = "`GenerateQueryPath()` overload"]
870 fn generate_query_path(self) -> () {
871 unsafe {
872 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
873 {
874 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
875 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
876 panic!(
877 "unity: virtual slot {}
878 out of range (vtable len {}
879) on the runtime class behind {}
880 (method `{}
881`)",
882 11usize,
883 __vt.len(),
884 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
885 "GenerateQueryPath",
886 )
887 });
888 let __inner: extern "C" fn(DebugUI_Container, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
889 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
890 __inner(__receiver, __mi)
891 }
892 }
893 }
894 #[doc = "`OnItemAdded(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
895 fn on_item_added(
896 self,
897 sender: impl ::core::convert::Into<
898 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
899 >,
900 e: impl ::core::convert::Into<
901 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
902 >,
903 ) -> () {
904 unsafe {
905 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
906 {
907 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
908 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
909 panic!(
910 "unity: virtual slot {}
911 out of range (vtable len {}
912) on the runtime class behind {}
913 (method `{}
914`)",
915 16usize,
916 __vt.len(),
917 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
918 "OnItemAdded",
919 )
920 });
921 let __inner: extern "C" fn(
922 DebugUI_Container,
923 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
924 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<
925 crate::unity_engine::rendering::debugui::DebugUI_Widget,
926 >,
927 ::unity::OptionalMethod,
928 ) -> () = ::core::mem::transmute(__vi.method_ptr);
929 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
930 __inner(__receiver, ::core::convert::Into::into(sender), ::core::convert::Into::into(e), __mi)
931 }
932 }
933 }
934 #[doc = "`OnItemRemoved(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
935 fn on_item_removed(
936 self,
937 sender: impl ::core::convert::Into<
938 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
939 >,
940 e: impl ::core::convert::Into<
941 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
942 >,
943 ) -> () {
944 unsafe {
945 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
946 {
947 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
948 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
949 panic!(
950 "unity: virtual slot {}
951 out of range (vtable len {}
952) on the runtime class behind {}
953 (method `{}
954`)",
955 17usize,
956 __vt.len(),
957 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
958 "OnItemRemoved",
959 )
960 });
961 let __inner: extern "C" fn(
962 DebugUI_Container,
963 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
964 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<
965 crate::unity_engine::rendering::debugui::DebugUI_Widget,
966 >,
967 ::unity::OptionalMethod,
968 ) -> () = ::core::mem::transmute(__vi.method_ptr);
969 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
970 __inner(__receiver, ::core::convert::Into::into(sender), ::core::convert::Into::into(e), __mi)
971 }
972 }
973 }
974 #[doc = "`GetHashCode()` overload"]
975 fn get_hash_code(self) -> i32 {
976 unsafe {
977 let __receiver = <DebugUI_Container as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
978 {
979 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
980 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
981 panic!(
982 "unity: virtual slot {}
983 out of range (vtable len {}
984) on the runtime class behind {}
985 (method `{}
986`)",
987 2usize,
988 __vt.len(),
989 <DebugUI_Container as ::unity::ClassIdentity>::NAME,
990 "GetHashCode",
991 )
992 });
993 let __inner: extern "C" fn(DebugUI_Container, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
994 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
995 __inner(__receiver, __mi)
996 }
997 }
998 }
999}
1000
1001#[cfg(feature = "unity_engine-rendering-debugui")]
1002impl<__T: IDebugUI_Container> IDebugUI_ContainerMethods for __T {}
1003
1004#[cfg(feature = "unity_engine-rendering-debugui")]
1005impl DebugUI_Container {
1006 pub fn get_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1007 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1008 }
1009
1010 pub fn set_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1011 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1012 }
1013
1014 pub fn get_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1015 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1016 }
1017
1018 pub fn set_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1019 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1020 }
1021
1022 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1023 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1024 }
1025
1026 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1027 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1028 }
1029
1030 pub fn generate_query_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1031 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1032 }
1033
1034 pub fn on_item_added_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1035 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1036 }
1037
1038 pub fn on_item_removed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1039 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1040 }
1041
1042 pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1043 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1044 }
1045}
1046
1047#[cfg(feature = "unity_engine-rendering-debugui")]
1048impl DebugUI_Container {
1049 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `get_children`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1050 pub unsafe fn get_children(
1051 this: impl ::core::convert::Into<::unity::IlInstance>,
1052 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget> {
1053 let __mi = Self::get_children_method_info();
1054 let __inner: extern "C" fn(
1055 ::unity::IlInstance,
1056 ::unity::OptionalMethod,
1057 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<
1058 crate::unity_engine::rendering::debugui::DebugUI_Widget,
1059 > = ::core::mem::transmute(__mi.method_ptr);
1060 __inner(this.into(), ::core::option::Option::None)
1061 }
1062
1063 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `get_panel`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1064 pub unsafe fn get_panel(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::rendering::debugui::DebugUI_Panel {
1065 let __mi = Self::get_panel_method_info();
1066 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::rendering::debugui::DebugUI_Panel =
1067 ::core::mem::transmute(__mi.method_ptr);
1068 __inner(this.into(), ::core::option::Option::None)
1069 }
1070
1071 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `set_panel`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1072 pub unsafe fn set_panel(
1073 this: impl ::core::convert::Into<::unity::IlInstance>,
1074 value: crate::unity_engine::rendering::debugui::DebugUI_Panel,
1075 ) -> () {
1076 let __mi = Self::set_panel_method_info();
1077 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::rendering::debugui::DebugUI_Panel, ::unity::OptionalMethod) -> () =
1078 ::core::mem::transmute(__mi.method_ptr);
1079 __inner(this.into(), value, ::core::option::Option::None)
1080 }
1081
1082 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `GenerateQueryPath`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1083 pub unsafe fn generate_query_path(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1084 let __mi = Self::generate_query_path_method_info();
1085 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1086 __inner(this.into(), ::core::option::Option::None)
1087 }
1088
1089 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `OnItemAdded`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1090 pub unsafe fn on_item_added(
1091 this: impl ::core::convert::Into<::unity::IlInstance>,
1092 sender: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1093 e: crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1094 ) -> () {
1095 let __mi = Self::on_item_added_method_info();
1096 let __inner: extern "C" fn(
1097 ::unity::IlInstance,
1098 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1099 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1100 ::unity::OptionalMethod,
1101 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1102 __inner(this.into(), sender, e, ::core::option::Option::None)
1103 }
1104
1105 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `OnItemRemoved`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1106 pub unsafe fn on_item_removed(
1107 this: impl ::core::convert::Into<::unity::IlInstance>,
1108 sender: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1109 e: crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1110 ) -> () {
1111 let __mi = Self::on_item_removed_method_info();
1112 let __inner: extern "C" fn(
1113 ::unity::IlInstance,
1114 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1115 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1116 ::unity::OptionalMethod,
1117 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1118 __inner(this.into(), sender, e, ::core::option::Option::None)
1119 }
1120
1121 #[doc = "Direct (non-virtual) call to `DebugUI_Container`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1122 pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1123 let __mi = Self::get_hash_code_method_info();
1124 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1125 __inner(this.into(), ::core::option::Option::None)
1126 }
1127}
1128
1129#[cfg(feature = "unity_engine-rendering-debugui")]
1130impl DebugUI_Container {
1131 #[doc = "`.ctor()` — no args"]
1132 pub fn new() -> Self {
1133 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1134 panic!(
1135 "{}
1136::{}
1137 failed to instantiate",
1138 ::core::stringify!(DebugUI_Container),
1139 ::core::stringify!(new),
1140 )
1141 });
1142 <Self as IDebugUI_ContainerMethods>::ctor(this);
1143 this
1144 }
1145
1146 #[doc = "`.ctor(::unity::Il2CppString, crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` — overload selector"]
1147 pub fn new_2(
1148 display_name: ::unity::Il2CppString,
1149 children: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1150 ) -> Self {
1151 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1152 panic!(
1153 "{}
1154::{}
1155 failed to instantiate",
1156 ::core::stringify!(DebugUI_Container),
1157 ::core::stringify!(new_2),
1158 )
1159 });
1160 <Self as IDebugUI_ContainerMethods>::ctor_2(this, display_name, children);
1161 this
1162 }
1163}
1164
1165#[cfg(feature = "unity_engine-rendering-debugui")]
1166pub trait IDebugUI_IContainerMethods: IDebugUI_IContainer {
1167 #[doc = "`get_children()` overload"]
1168 fn get_children(
1169 self,
1170 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget> {
1171 unsafe {
1172 let __receiver = <DebugUI_IContainer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1173 {
1174 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1175 let __vi = *__vt.get(0usize).unwrap_or_else(|| {
1176 panic!(
1177 "unity: virtual slot {}
1178 out of range (vtable len {}
1179) on the runtime class behind {}
1180 (method `{}
1181`)",
1182 0usize,
1183 __vt.len(),
1184 <DebugUI_IContainer as ::unity::ClassIdentity>::NAME,
1185 "get_children",
1186 )
1187 });
1188 let __inner: extern "C" fn(
1189 DebugUI_IContainer,
1190 ::unity::OptionalMethod,
1191 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<
1192 crate::unity_engine::rendering::debugui::DebugUI_Widget,
1193 > = ::core::mem::transmute(__vi.method_ptr);
1194 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1195 __inner(__receiver, __mi)
1196 }
1197 }
1198 }
1199 #[doc = "`get_displayName()` overload"]
1200 fn get_display_name(self) -> ::unity::Il2CppString {
1201 unsafe {
1202 let __receiver = <DebugUI_IContainer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1203 {
1204 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1205 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
1206 panic!(
1207 "unity: virtual slot {}
1208 out of range (vtable len {}
1209) on the runtime class behind {}
1210 (method `{}
1211`)",
1212 1usize,
1213 __vt.len(),
1214 <DebugUI_IContainer as ::unity::ClassIdentity>::NAME,
1215 "get_displayName",
1216 )
1217 });
1218 let __inner: extern "C" fn(DebugUI_IContainer, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1219 ::core::mem::transmute(__vi.method_ptr);
1220 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1221 __inner(__receiver, __mi)
1222 }
1223 }
1224 }
1225 #[doc = "`set_displayName(::unity::Il2CppString)` overload"]
1226 fn set_display_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1227 unsafe {
1228 let __receiver = <DebugUI_IContainer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1229 {
1230 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1231 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
1232 panic!(
1233 "unity: virtual slot {}
1234 out of range (vtable len {}
1235) on the runtime class behind {}
1236 (method `{}
1237`)",
1238 2usize,
1239 __vt.len(),
1240 <DebugUI_IContainer as ::unity::ClassIdentity>::NAME,
1241 "set_displayName",
1242 )
1243 });
1244 let __inner: extern "C" fn(DebugUI_IContainer, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1245 ::core::mem::transmute(__vi.method_ptr);
1246 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1247 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1248 }
1249 }
1250 }
1251 #[doc = "`get_queryPath()` overload"]
1252 fn get_query_path(self) -> ::unity::Il2CppString {
1253 unsafe {
1254 let __receiver = <DebugUI_IContainer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1255 {
1256 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1257 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
1258 panic!(
1259 "unity: virtual slot {}
1260 out of range (vtable len {}
1261) on the runtime class behind {}
1262 (method `{}
1263`)",
1264 3usize,
1265 __vt.len(),
1266 <DebugUI_IContainer as ::unity::ClassIdentity>::NAME,
1267 "get_queryPath",
1268 )
1269 });
1270 let __inner: extern "C" fn(DebugUI_IContainer, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1271 ::core::mem::transmute(__vi.method_ptr);
1272 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1273 __inner(__receiver, __mi)
1274 }
1275 }
1276 }
1277}
1278
1279#[cfg(feature = "unity_engine-rendering-debugui")]
1280impl<__T: IDebugUI_IContainer> IDebugUI_IContainerMethods for __T {}
1281
1282#[cfg(feature = "unity_engine-rendering-debugui")]
1283impl DebugUI_IContainer {
1284 pub fn get_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1285 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1286 }
1287
1288 pub fn get_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1289 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1290 }
1291
1292 pub fn set_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1294 }
1295
1296 pub fn get_query_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1298 }
1299}
1300
1301#[cfg(feature = "unity_engine-rendering-debugui")]
1302impl DebugUI_IContainer {
1303 #[doc = "Direct (non-virtual) call to `DebugUI_IContainer`'s own `get_children`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1304 pub unsafe fn get_children(
1305 this: impl ::core::convert::Into<::unity::IlInstance>,
1306 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget> {
1307 let __mi = Self::get_children_method_info();
1308 let __inner: extern "C" fn(
1309 ::unity::IlInstance,
1310 ::unity::OptionalMethod,
1311 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<
1312 crate::unity_engine::rendering::debugui::DebugUI_Widget,
1313 > = ::core::mem::transmute(__mi.method_ptr);
1314 __inner(this.into(), ::core::option::Option::None)
1315 }
1316
1317 #[doc = "Direct (non-virtual) call to `DebugUI_IContainer`'s own `get_displayName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1318 pub unsafe fn get_display_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1319 let __mi = Self::get_display_name_method_info();
1320 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1321 __inner(this.into(), ::core::option::Option::None)
1322 }
1323
1324 #[doc = "Direct (non-virtual) call to `DebugUI_IContainer`'s own `set_displayName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1325 pub unsafe fn set_display_name(this: impl ::core::convert::Into<::unity::IlInstance>, value: ::unity::Il2CppString) -> () {
1326 let __mi = Self::set_display_name_method_info();
1327 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1328 ::core::mem::transmute(__mi.method_ptr);
1329 __inner(this.into(), value, ::core::option::Option::None)
1330 }
1331
1332 #[doc = "Direct (non-virtual) call to `DebugUI_IContainer`'s own `get_queryPath`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1333 pub unsafe fn get_query_path(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1334 let __mi = Self::get_query_path_method_info();
1335 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1336 __inner(this.into(), ::core::option::Option::None)
1337 }
1338}
1339
1340#[cfg(feature = "unity_engine-rendering-debugui")]
1341pub trait IDebugUI_FoldoutMethods: IDebugUI_Foldout {
1342 #[doc = "`get_isReadOnly()` overload"]
1343 fn get_is_read_only(self) -> bool {
1344 unsafe {
1345 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1346 ::unity::il2cpp_call!((::unity::module_base()+0x33eb9b0usize)as*mut u8,bool;
1347(DebugUI_Foldout)__receiver)
1348 }
1349 }
1350 #[doc = "`get_columnLabels()` overload"]
1351 fn get_column_labels(self) -> ::unity::Array<::unity::Il2CppString> {
1352 unsafe {
1353 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1354 ::unity::il2cpp_call!((::unity::module_base()+0x33eb9c0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
1355(DebugUI_Foldout)__receiver)
1356 }
1357 }
1358 #[doc = "`set_columnLabels(::unity::Array<::unity::Il2CppString>)` overload"]
1359 fn set_column_labels(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
1360 unsafe {
1361 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1362 ::unity::il2cpp_call!((::unity::module_base()+0x33eb9d0usize)as*mut u8,();
1363(DebugUI_Foldout)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
1364 }
1365 }
1366 #[doc = "`.ctor()` overload"]
1367 fn ctor(self) -> () {
1368 unsafe {
1369 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1370 ::unity::il2cpp_call!((::unity::module_base()+0x33eb9e0usize)as*mut u8,();
1371(DebugUI_Foldout)__receiver)
1372 }
1373 }
1374 #[doc = "`.ctor(::unity::Il2CppString, crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, ::unity::Array<::unity::Il2CppString>)` overload"]
1375 fn ctor_2(
1376 self,
1377 display_name: impl ::core::convert::Into<::unity::Il2CppString>,
1378 children: impl ::core::convert::Into<
1379 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1380 >,
1381 column_labels: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
1382 ) -> () {
1383 unsafe {
1384 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1385 ::unity::il2cpp_call!((::unity::module_base()+0x33eb9f0usize)as*mut u8,();
1386(DebugUI_Foldout)__receiver,(::unity::Il2CppString)::core::convert::Into::into(display_name),(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)::core::convert::Into::into(children),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(column_labels))
1387 }
1388 }
1389 #[doc = "`GetValue()` overload"]
1390 fn get_value(self) -> bool {
1391 unsafe {
1392 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1393 ::unity::il2cpp_call!((::unity::module_base()+0x33eba20usize)as*mut u8,bool;
1394(DebugUI_Foldout)__receiver)
1395 }
1396 }
1397 #[doc = "`UnityEngine.Rendering.DebugUI.IValueField.GetValue()` overload"]
1398 fn unity_engine_rendering_debug_ui_i_value_field_get_value(self) -> crate::system::object::Object {
1399 unsafe {
1400 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1401 {
1402 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1403 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1404 panic!(
1405 "unity: virtual slot {}
1406 out of range (vtable len {}
1407) on the runtime class behind {}
1408 (method `{}
1409`)",
1410 18usize,
1411 __vt.len(),
1412 <DebugUI_Foldout as ::unity::ClassIdentity>::NAME,
1413 "UnityEngine.Rendering.DebugUI.IValueField.GetValue",
1414 )
1415 });
1416 let __inner: extern "C" fn(DebugUI_Foldout, ::unity::OptionalMethod) -> crate::system::object::Object =
1417 ::core::mem::transmute(__vi.method_ptr);
1418 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1419 __inner(__receiver, __mi)
1420 }
1421 }
1422 }
1423 #[doc = "`SetValue(crate::system::object::Object)` overload"]
1424 fn set_value(self, value: impl ::core::convert::Into<crate::system::object::Object>) -> () {
1425 unsafe {
1426 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1427 {
1428 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1429 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
1430 panic!(
1431 "unity: virtual slot {}
1432 out of range (vtable len {}
1433) on the runtime class behind {}
1434 (method `{}
1435`)",
1436 19usize,
1437 __vt.len(),
1438 <DebugUI_Foldout as ::unity::ClassIdentity>::NAME,
1439 "SetValue",
1440 )
1441 });
1442 let __inner: extern "C" fn(DebugUI_Foldout, crate::system::object::Object, ::unity::OptionalMethod) -> () =
1443 ::core::mem::transmute(__vi.method_ptr);
1444 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1445 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1446 }
1447 }
1448 }
1449 #[doc = "`ValidateValue(crate::system::object::Object)` overload"]
1450 fn validate_value(self, value: impl ::core::convert::Into<crate::system::object::Object>) -> crate::system::object::Object {
1451 unsafe {
1452 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1453 {
1454 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1455 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
1456 panic!(
1457 "unity: virtual slot {}
1458 out of range (vtable len {}
1459) on the runtime class behind {}
1460 (method `{}
1461`)",
1462 20usize,
1463 __vt.len(),
1464 <DebugUI_Foldout as ::unity::ClassIdentity>::NAME,
1465 "ValidateValue",
1466 )
1467 });
1468 let __inner: extern "C" fn(DebugUI_Foldout, crate::system::object::Object, ::unity::OptionalMethod) -> crate::system::object::Object =
1469 ::core::mem::transmute(__vi.method_ptr);
1470 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1471 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1472 }
1473 }
1474 }
1475 #[doc = "`SetValue(bool)` overload"]
1476 fn set_value_2(self, value: impl ::core::convert::Into<bool>) -> () {
1477 unsafe {
1478 let __receiver = <DebugUI_Foldout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1479 ::unity::il2cpp_call!((::unity::module_base()+0x33ebb30usize)as*mut u8,();
1480(DebugUI_Foldout)__receiver,(bool)::core::convert::Into::into(value))
1481 }
1482 }
1483}
1484
1485#[cfg(feature = "unity_engine-rendering-debugui")]
1486impl<__T: IDebugUI_Foldout> IDebugUI_FoldoutMethods for __T {}
1487
1488#[cfg(feature = "unity_engine-rendering-debugui")]
1489impl DebugUI_Foldout {
1490 pub fn get_is_read_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1492 }
1493
1494 pub fn get_column_labels_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1496 }
1497
1498 pub fn set_column_labels_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1500 }
1501
1502 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1504 }
1505
1506 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1508 }
1509
1510 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1512 }
1513
1514 pub fn unity_engine_rendering_debug_ui_i_value_field_get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1515 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1516 }
1517
1518 pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1519 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1520 }
1521
1522 pub fn validate_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1523 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1524 }
1525
1526 pub fn set_value_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1527 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1528 }
1529}
1530
1531#[cfg(feature = "unity_engine-rendering-debugui")]
1532impl DebugUI_Foldout {
1533 #[doc = "Direct (non-virtual) call to `DebugUI_Foldout`'s own `UnityEngine.Rendering.DebugUI.IValueField.GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1534 pub unsafe fn unity_engine_rendering_debug_ui_i_value_field_get_value(
1535 this: impl ::core::convert::Into<::unity::IlInstance>,
1536 ) -> crate::system::object::Object {
1537 let __mi = Self::unity_engine_rendering_debug_ui_i_value_field_get_value_method_info();
1538 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
1539 ::core::mem::transmute(__mi.method_ptr);
1540 __inner(this.into(), ::core::option::Option::None)
1541 }
1542
1543 #[doc = "Direct (non-virtual) call to `DebugUI_Foldout`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1544 pub unsafe fn set_value(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::system::object::Object) -> () {
1545 let __mi = Self::set_value_method_info();
1546 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> () =
1547 ::core::mem::transmute(__mi.method_ptr);
1548 __inner(this.into(), value, ::core::option::Option::None)
1549 }
1550
1551 #[doc = "Direct (non-virtual) call to `DebugUI_Foldout`'s own `ValidateValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1552 pub unsafe fn validate_value(
1553 this: impl ::core::convert::Into<::unity::IlInstance>,
1554 value: crate::system::object::Object,
1555 ) -> crate::system::object::Object {
1556 let __mi = Self::validate_value_method_info();
1557 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> crate::system::object::Object =
1558 ::core::mem::transmute(__mi.method_ptr);
1559 __inner(this.into(), value, ::core::option::Option::None)
1560 }
1561}
1562
1563#[cfg(feature = "unity_engine-rendering-debugui")]
1564impl DebugUI_Foldout {
1565 #[doc = "`.ctor()` — no args"]
1566 pub fn new() -> Self {
1567 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1568 panic!(
1569 "{}
1570::{}
1571 failed to instantiate",
1572 ::core::stringify!(DebugUI_Foldout),
1573 ::core::stringify!(new),
1574 )
1575 });
1576 <Self as IDebugUI_FoldoutMethods>::ctor(this);
1577 this
1578 }
1579
1580 #[doc = "`.ctor(::unity::Il2CppString, crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, ::unity::Array<::unity::Il2CppString>)` — overload selector"]
1581 pub fn new_2(
1582 display_name: ::unity::Il2CppString,
1583 children: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
1584 column_labels: ::unity::Array<::unity::Il2CppString>,
1585 ) -> Self {
1586 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1587 panic!(
1588 "{}
1589::{}
1590 failed to instantiate",
1591 ::core::stringify!(DebugUI_Foldout),
1592 ::core::stringify!(new_2),
1593 )
1594 });
1595 <Self as IDebugUI_FoldoutMethods>::ctor_2(this, display_name, children, column_labels);
1596 this
1597 }
1598}
1599
1600#[cfg(feature = "unity_engine-rendering-debugui")]
1601pub trait IDebugUI_ValueMethods: IDebugUI_Value {
1602 #[doc = "`get_getter()` overload"]
1603 fn get_getter(self) -> crate::system::func_1::Func_1<crate::system::object::Object> {
1604 unsafe {
1605 let __receiver = <DebugUI_Value as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1606 ::unity::il2cpp_call!((::unity::module_base()+0x33ecca0usize)as*mut u8,crate::system::func_1::Func_1<crate::system::object::Object> ;
1607(DebugUI_Value)__receiver)
1608 }
1609 }
1610 #[doc = "`set_getter(crate::system::func_1::Func_1<crate::system::object::Object>)` overload"]
1611 fn set_getter(self, value: impl ::core::convert::Into<crate::system::func_1::Func_1<crate::system::object::Object>>) -> () {
1612 unsafe {
1613 let __receiver = <DebugUI_Value as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1614 ::unity::il2cpp_call!((::unity::module_base()+0x33eccb0usize)as*mut u8,();
1615(DebugUI_Value)__receiver,(crate::system::func_1::Func_1<crate::system::object::Object>)::core::convert::Into::into(value))
1616 }
1617 }
1618 #[doc = "`.ctor()` overload"]
1619 fn ctor(self) -> () {
1620 unsafe {
1621 let __receiver = <DebugUI_Value as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1622 ::unity::il2cpp_call!((::unity::module_base()+0x33eccc0usize)as*mut u8,();
1623(DebugUI_Value)__receiver)
1624 }
1625 }
1626 #[doc = "`GetValue()` overload"]
1627 fn get_value(self) -> crate::system::object::Object {
1628 unsafe {
1629 let __receiver = <DebugUI_Value as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1630 ::unity::il2cpp_call!((::unity::module_base()+0x33ecd30usize)as*mut u8,crate::system::object::Object;
1631(DebugUI_Value)__receiver)
1632 }
1633 }
1634}
1635
1636#[cfg(feature = "unity_engine-rendering-debugui")]
1637impl<__T: IDebugUI_Value> IDebugUI_ValueMethods for __T {}
1638
1639#[cfg(feature = "unity_engine-rendering-debugui")]
1640impl DebugUI_Value {
1641 pub fn get_getter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1642 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1643 }
1644
1645 pub fn set_getter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1646 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1647 }
1648
1649 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1651 }
1652
1653 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1655 }
1656}
1657
1658#[cfg(feature = "unity_engine-rendering-debugui")]
1659impl DebugUI_Value {
1660 #[doc = "`.ctor()` — no args"]
1661 pub fn new() -> Self {
1662 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1663 panic!(
1664 "{}
1665::{}
1666 failed to instantiate",
1667 ::core::stringify!(DebugUI_Value),
1668 ::core::stringify!(new),
1669 )
1670 });
1671 <Self as IDebugUI_ValueMethods>::ctor(this);
1672 this
1673 }
1674}
1675
1676#[cfg(feature = "unity_engine-rendering-debugui")]
1677#[::unity::methods]
1678impl<T0: ::unity::ClassIdentity> DebugUI_Field_1<T0> {
1679 #[doc = "`get_getter()` overload"]
1680 #[method(name = "get_getter", args = 0)]
1681 pub fn get_getter(self) -> crate::system::func_1::Func_1<T0>;
1682
1683 #[doc = "`set_getter(crate::system::func_1::Func_1<T0>)` overload"]
1684 #[method(name = "set_getter", args = 1)]
1685 pub fn set_getter(self, value: crate::system::func_1::Func_1<T0>) -> ();
1686
1687 #[doc = "`get_setter()` overload"]
1688 #[method(name = "get_setter", args = 0)]
1689 pub fn get_setter(self) -> crate::system::action_1::Action_1<T0>;
1690
1691 #[doc = "`set_setter(crate::system::action_1::Action_1<T0>)` overload"]
1692 #[method(name = "set_setter", args = 1)]
1693 pub fn set_setter(self, value: crate::system::action_1::Action_1<T0>) -> ();
1694
1695 #[doc = "`UnityEngine.Rendering.DebugUI.IValueField.ValidateValue(crate::system::object::Object)` overload"]
1696 #[method(name = "UnityEngine.Rendering.DebugUI.IValueField.ValidateValue", args = 1)]
1697 pub fn unity_engine_rendering_debug_ui_i_value_field_validate_value(self, value: crate::system::object::Object) -> crate::system::object::Object;
1698
1699 #[doc = "`ValidateValue(T0)` overload"]
1700 #[method(name = "ValidateValue", args = 1)]
1701 pub fn validate_value(self, value: T0) -> T0;
1702
1703 #[doc = "`UnityEngine.Rendering.DebugUI.IValueField.GetValue()` overload"]
1704 #[method(name = "UnityEngine.Rendering.DebugUI.IValueField.GetValue", args = 0)]
1705 pub fn unity_engine_rendering_debug_ui_i_value_field_get_value(self) -> crate::system::object::Object;
1706
1707 #[doc = "`GetValue()` overload"]
1708 #[method(name = "GetValue", args = 0)]
1709 pub fn get_value(self) -> T0;
1710
1711 #[doc = "`SetValue(crate::system::object::Object)` overload"]
1712 #[method(name = "SetValue", args = 1)]
1713 pub fn set_value(self, value: crate::system::object::Object) -> ();
1714
1715 #[doc = "`SetValue(T0)` overload"]
1716 #[method(name = "SetValue", args = 1)]
1717 pub fn set_value_2(self, value: T0) -> ();
1718
1719 #[doc = "`.ctor()` overload"]
1720 #[method(name = ".ctor", args = 0)]
1721 pub fn ctor(self) -> ();
1722}
1723
1724#[cfg(feature = "unity_engine-rendering-debugui")]
1725impl<T0: ::unity::ClassIdentity> DebugUI_Field_1<T0> {
1726 #[doc = "`.ctor()` — no args"]
1727 pub fn new() -> Self {
1728 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1729 panic!(
1730 "{}
1731::{}
1732 failed to instantiate",
1733 ::core::stringify!(DebugUI_Field_1),
1734 ::core::stringify!(new),
1735 )
1736 });
1737 <Self as IDebugUI_Field_1Methods<T0>>::ctor(this);
1738 this
1739 }
1740}
1741
1742#[cfg(feature = "unity_engine-rendering-debugui")]
1743pub trait IDebugUI_WidgetMethods: IDebugUI_Widget {
1744 #[doc = "`get_panel()` overload"]
1745 fn get_panel(self) -> crate::unity_engine::rendering::debugui::DebugUI_Panel {
1746 unsafe {
1747 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1748 {
1749 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1750 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1751 panic!(
1752 "unity: virtual slot {}
1753 out of range (vtable len {}
1754) on the runtime class behind {}
1755 (method `{}
1756`)",
1757 4usize,
1758 __vt.len(),
1759 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1760 "get_panel",
1761 )
1762 });
1763 let __inner: extern "C" fn(DebugUI_Widget, ::unity::OptionalMethod) -> crate::unity_engine::rendering::debugui::DebugUI_Panel =
1764 ::core::mem::transmute(__vi.method_ptr);
1765 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1766 __inner(__receiver, __mi)
1767 }
1768 }
1769 }
1770 #[doc = "`set_panel(crate::unity_engine::rendering::debugui::DebugUI_Panel)` overload"]
1771 fn set_panel(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Panel>) -> () {
1772 unsafe {
1773 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1774 {
1775 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1776 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1777 panic!(
1778 "unity: virtual slot {}
1779 out of range (vtable len {}
1780) on the runtime class behind {}
1781 (method `{}
1782`)",
1783 5usize,
1784 __vt.len(),
1785 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1786 "set_panel",
1787 )
1788 });
1789 let __inner: extern "C" fn(DebugUI_Widget, crate::unity_engine::rendering::debugui::DebugUI_Panel, ::unity::OptionalMethod) -> () =
1790 ::core::mem::transmute(__vi.method_ptr);
1791 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1792 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1793 }
1794 }
1795 }
1796 #[doc = "`get_parent()` overload"]
1797 fn get_parent(self) -> crate::unity_engine::rendering::debugui::DebugUI_IContainer {
1798 unsafe {
1799 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1800 {
1801 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1802 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1803 panic!(
1804 "unity: virtual slot {}
1805 out of range (vtable len {}
1806) on the runtime class behind {}
1807 (method `{}
1808`)",
1809 6usize,
1810 __vt.len(),
1811 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1812 "get_parent",
1813 )
1814 });
1815 let __inner: extern "C" fn(DebugUI_Widget, ::unity::OptionalMethod) -> crate::unity_engine::rendering::debugui::DebugUI_IContainer =
1816 ::core::mem::transmute(__vi.method_ptr);
1817 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1818 __inner(__receiver, __mi)
1819 }
1820 }
1821 }
1822 #[doc = "`set_parent(crate::unity_engine::rendering::debugui::DebugUI_IContainer)` overload"]
1823 fn set_parent(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_IContainer>) -> () {
1824 unsafe {
1825 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1826 {
1827 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1828 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
1829 panic!(
1830 "unity: virtual slot {}
1831 out of range (vtable len {}
1832) on the runtime class behind {}
1833 (method `{}
1834`)",
1835 7usize,
1836 __vt.len(),
1837 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1838 "set_parent",
1839 )
1840 });
1841 let __inner: extern "C" fn(
1842 DebugUI_Widget,
1843 crate::unity_engine::rendering::debugui::DebugUI_IContainer,
1844 ::unity::OptionalMethod,
1845 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1846 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1847 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1848 }
1849 }
1850 }
1851 #[doc = "`get_flags()` overload"]
1852 fn get_flags(self) -> crate::unity_engine::rendering::debugui::DebugUI_Flags {
1853 unsafe {
1854 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1855 ::unity::il2cpp_call!((::unity::module_base()+0x33ecf20usize)as*mut u8,crate::unity_engine::rendering::debugui::DebugUI_Flags;
1856(DebugUI_Widget)__receiver)
1857 }
1858 }
1859 #[doc = "`set_flags(crate::unity_engine::rendering::debugui::DebugUI_Flags)` overload"]
1860 fn set_flags(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Flags>) -> () {
1861 unsafe {
1862 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1863 ::unity::il2cpp_call!((::unity::module_base()+0x33ecf30usize)as*mut u8,();
1864(DebugUI_Widget)__receiver,(crate::unity_engine::rendering::debugui::DebugUI_Flags)::core::convert::Into::into(value))
1865 }
1866 }
1867 #[doc = "`get_displayName()` overload"]
1868 fn get_display_name(self) -> ::unity::Il2CppString {
1869 unsafe {
1870 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1871 {
1872 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1873 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
1874 panic!(
1875 "unity: virtual slot {}
1876 out of range (vtable len {}
1877) on the runtime class behind {}
1878 (method `{}
1879`)",
1880 8usize,
1881 __vt.len(),
1882 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1883 "get_displayName",
1884 )
1885 });
1886 let __inner: extern "C" fn(DebugUI_Widget, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1887 ::core::mem::transmute(__vi.method_ptr);
1888 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1889 __inner(__receiver, __mi)
1890 }
1891 }
1892 }
1893 #[doc = "`set_displayName(::unity::Il2CppString)` overload"]
1894 fn set_display_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1895 unsafe {
1896 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1897 {
1898 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1899 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
1900 panic!(
1901 "unity: virtual slot {}
1902 out of range (vtable len {}
1903) on the runtime class behind {}
1904 (method `{}
1905`)",
1906 9usize,
1907 __vt.len(),
1908 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1909 "set_displayName",
1910 )
1911 });
1912 let __inner: extern "C" fn(DebugUI_Widget, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1913 ::core::mem::transmute(__vi.method_ptr);
1914 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1915 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1916 }
1917 }
1918 }
1919 #[doc = "`get_queryPath()` overload"]
1920 fn get_query_path(self) -> ::unity::Il2CppString {
1921 unsafe {
1922 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1923 {
1924 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1925 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
1926 panic!(
1927 "unity: virtual slot {}
1928 out of range (vtable len {}
1929) on the runtime class behind {}
1930 (method `{}
1931`)",
1932 10usize,
1933 __vt.len(),
1934 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1935 "get_queryPath",
1936 )
1937 });
1938 let __inner: extern "C" fn(DebugUI_Widget, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1939 ::core::mem::transmute(__vi.method_ptr);
1940 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1941 __inner(__receiver, __mi)
1942 }
1943 }
1944 }
1945 #[doc = "`set_queryPath(::unity::Il2CppString)` overload"]
1946 fn set_query_path(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1947 unsafe {
1948 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1949 ::unity::il2cpp_call!((::unity::module_base()+0x33ecf70usize)as*mut u8,();
1950(DebugUI_Widget)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
1951 }
1952 }
1953 #[doc = "`get_isEditorOnly()` overload"]
1954 fn get_is_editor_only(self) -> bool {
1955 unsafe {
1956 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1957 ::unity::il2cpp_call!((::unity::module_base()+0x33ecf80usize)as*mut u8,bool;
1958(DebugUI_Widget)__receiver)
1959 }
1960 }
1961 #[doc = "`get_isRuntimeOnly()` overload"]
1962 fn get_is_runtime_only(self) -> bool {
1963 unsafe {
1964 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1965 ::unity::il2cpp_call!((::unity::module_base()+0x33ecf90usize)as*mut u8,bool;
1966(DebugUI_Widget)__receiver)
1967 }
1968 }
1969 #[doc = "`get_isInactiveInEditor()` overload"]
1970 fn get_is_inactive_in_editor(self) -> bool {
1971 unsafe {
1972 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1973 ::unity::il2cpp_call!((::unity::module_base()+0x33ecfa0usize)as*mut u8,bool;
1974(DebugUI_Widget)__receiver)
1975 }
1976 }
1977 #[doc = "`GenerateQueryPath()` overload"]
1978 fn generate_query_path(self) -> () {
1979 unsafe {
1980 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1981 {
1982 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1983 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
1984 panic!(
1985 "unity: virtual slot {}
1986 out of range (vtable len {}
1987) on the runtime class behind {}
1988 (method `{}
1989`)",
1990 11usize,
1991 __vt.len(),
1992 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
1993 "GenerateQueryPath",
1994 )
1995 });
1996 let __inner: extern "C" fn(DebugUI_Widget, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1997 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1998 __inner(__receiver, __mi)
1999 }
2000 }
2001 }
2002 #[doc = "`GetHashCode()` overload"]
2003 fn get_hash_code(self) -> i32 {
2004 unsafe {
2005 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2006 {
2007 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2008 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
2009 panic!(
2010 "unity: virtual slot {}
2011 out of range (vtable len {}
2012) on the runtime class behind {}
2013 (method `{}
2014`)",
2015 2usize,
2016 __vt.len(),
2017 <DebugUI_Widget as ::unity::ClassIdentity>::NAME,
2018 "GetHashCode",
2019 )
2020 });
2021 let __inner: extern "C" fn(DebugUI_Widget, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
2022 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2023 __inner(__receiver, __mi)
2024 }
2025 }
2026 }
2027 #[doc = "`.ctor()` overload"]
2028 fn ctor(self) -> () {
2029 unsafe {
2030 let __receiver = <DebugUI_Widget as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2031 ::unity::il2cpp_call!((::unity::module_base()+0x33ea1e0usize)as*mut u8,();
2032(DebugUI_Widget)__receiver)
2033 }
2034 }
2035}
2036
2037#[cfg(feature = "unity_engine-rendering-debugui")]
2038impl<__T: IDebugUI_Widget> IDebugUI_WidgetMethods for __T {}
2039
2040#[cfg(feature = "unity_engine-rendering-debugui")]
2041impl DebugUI_Widget {
2042 pub fn get_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2043 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2044 }
2045
2046 pub fn set_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2047 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2048 }
2049
2050 pub fn get_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2051 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2052 }
2053
2054 pub fn set_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2055 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2056 }
2057
2058 pub fn get_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2059 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2060 }
2061
2062 pub fn set_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2063 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2064 }
2065
2066 pub fn get_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2067 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2068 }
2069
2070 pub fn set_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2071 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2072 }
2073
2074 pub fn get_query_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2075 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
2076 }
2077
2078 pub fn set_query_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2079 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
2080 }
2081
2082 pub fn get_is_editor_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2083 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
2084 }
2085
2086 pub fn get_is_runtime_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2087 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
2088 }
2089
2090 pub fn get_is_inactive_in_editor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2091 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
2092 }
2093
2094 pub fn generate_query_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2095 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
2096 }
2097
2098 pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2099 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
2100 }
2101
2102 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
2104 }
2105}
2106
2107#[cfg(feature = "unity_engine-rendering-debugui")]
2108impl DebugUI_Widget {
2109 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `get_panel`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2110 pub unsafe fn get_panel(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::rendering::debugui::DebugUI_Panel {
2111 let __mi = Self::get_panel_method_info();
2112 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::rendering::debugui::DebugUI_Panel =
2113 ::core::mem::transmute(__mi.method_ptr);
2114 __inner(this.into(), ::core::option::Option::None)
2115 }
2116
2117 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `set_panel`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2118 pub unsafe fn set_panel(
2119 this: impl ::core::convert::Into<::unity::IlInstance>,
2120 value: crate::unity_engine::rendering::debugui::DebugUI_Panel,
2121 ) -> () {
2122 let __mi = Self::set_panel_method_info();
2123 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::rendering::debugui::DebugUI_Panel, ::unity::OptionalMethod) -> () =
2124 ::core::mem::transmute(__mi.method_ptr);
2125 __inner(this.into(), value, ::core::option::Option::None)
2126 }
2127
2128 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `get_parent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2129 pub unsafe fn get_parent(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::rendering::debugui::DebugUI_IContainer {
2130 let __mi = Self::get_parent_method_info();
2131 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::rendering::debugui::DebugUI_IContainer =
2132 ::core::mem::transmute(__mi.method_ptr);
2133 __inner(this.into(), ::core::option::Option::None)
2134 }
2135
2136 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `set_parent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2137 pub unsafe fn set_parent(
2138 this: impl ::core::convert::Into<::unity::IlInstance>,
2139 value: crate::unity_engine::rendering::debugui::DebugUI_IContainer,
2140 ) -> () {
2141 let __mi = Self::set_parent_method_info();
2142 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::rendering::debugui::DebugUI_IContainer, ::unity::OptionalMethod) -> () =
2143 ::core::mem::transmute(__mi.method_ptr);
2144 __inner(this.into(), value, ::core::option::Option::None)
2145 }
2146
2147 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `get_displayName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2148 pub unsafe fn get_display_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
2149 let __mi = Self::get_display_name_method_info();
2150 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
2151 __inner(this.into(), ::core::option::Option::None)
2152 }
2153
2154 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `set_displayName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2155 pub unsafe fn set_display_name(this: impl ::core::convert::Into<::unity::IlInstance>, value: ::unity::Il2CppString) -> () {
2156 let __mi = Self::set_display_name_method_info();
2157 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
2158 ::core::mem::transmute(__mi.method_ptr);
2159 __inner(this.into(), value, ::core::option::Option::None)
2160 }
2161
2162 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `get_queryPath`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2163 pub unsafe fn get_query_path(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
2164 let __mi = Self::get_query_path_method_info();
2165 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
2166 __inner(this.into(), ::core::option::Option::None)
2167 }
2168
2169 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `GenerateQueryPath`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2170 pub unsafe fn generate_query_path(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2171 let __mi = Self::generate_query_path_method_info();
2172 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2173 __inner(this.into(), ::core::option::Option::None)
2174 }
2175
2176 #[doc = "Direct (non-virtual) call to `DebugUI_Widget`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2177 pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
2178 let __mi = Self::get_hash_code_method_info();
2179 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2180 __inner(this.into(), ::core::option::Option::None)
2181 }
2182}
2183
2184#[cfg(feature = "unity_engine-rendering-debugui")]
2185impl DebugUI_Widget {
2186 #[doc = "`.ctor()` — no args"]
2187 pub fn new() -> Self {
2188 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2189 panic!(
2190 "{}
2191::{}
2192 failed to instantiate",
2193 ::core::stringify!(DebugUI_Widget),
2194 ::core::stringify!(new),
2195 )
2196 });
2197 <Self as IDebugUI_WidgetMethods>::ctor(this);
2198 this
2199 }
2200}
2201
2202#[cfg(feature = "unity_engine-rendering-debugui")]
2203pub trait IDebugUI_HistoryBoolFieldMethods: IDebugUI_HistoryBoolField {
2204 #[doc = "`get_historyGetter()` overload"]
2205 fn get_history_getter(self) -> ::unity::Array<crate::system::func_1::Func_1<bool>> {
2206 unsafe {
2207 let __receiver =
2208 <DebugUI_HistoryBoolField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2209 ::unity::il2cpp_call!((::unity::module_base()+0x33ebba0usize)as*mut u8, ::unity::Array<crate::system::func_1::Func_1<bool> > ;
2210(DebugUI_HistoryBoolField)__receiver)
2211 }
2212 }
2213 #[doc = "`set_historyGetter(::unity::Array<crate::system::func_1::Func_1<bool>>)` overload"]
2214 fn set_history_getter(self, value: impl ::core::convert::Into<::unity::Array<crate::system::func_1::Func_1<bool>>>) -> () {
2215 unsafe {
2216 let __receiver =
2217 <DebugUI_HistoryBoolField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2218 ::unity::il2cpp_call!((::unity::module_base()+0x33ebbb0usize)as*mut u8,();
2219(DebugUI_HistoryBoolField)__receiver,(::unity::Array<crate::system::func_1::Func_1<bool> >)::core::convert::Into::into(value))
2220 }
2221 }
2222 #[doc = "`get_historyDepth()` overload"]
2223 fn get_history_depth(self) -> i32 {
2224 unsafe {
2225 let __receiver =
2226 <DebugUI_HistoryBoolField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2227 ::unity::il2cpp_call!((::unity::module_base()+0x33ebbc0usize)as*mut u8,i32;
2228(DebugUI_HistoryBoolField)__receiver)
2229 }
2230 }
2231 #[doc = "`GetHistoryValue(i32)` overload"]
2232 fn get_history_value(self, history_index: impl ::core::convert::Into<i32>) -> bool {
2233 unsafe {
2234 let __receiver =
2235 <DebugUI_HistoryBoolField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2236 ::unity::il2cpp_call!((::unity::module_base()+0x33ebbe0usize)as*mut u8,bool;
2237(DebugUI_HistoryBoolField)__receiver,(i32)::core::convert::Into::into(history_index))
2238 }
2239 }
2240 #[doc = "`.ctor()` overload"]
2241 fn ctor(self) -> () {
2242 unsafe {
2243 let __receiver =
2244 <DebugUI_HistoryBoolField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2245 ::unity::il2cpp_call!((::unity::module_base()+0x33ebc60usize)as*mut u8,();
2246(DebugUI_HistoryBoolField)__receiver)
2247 }
2248 }
2249}
2250
2251#[cfg(feature = "unity_engine-rendering-debugui")]
2252impl<__T: IDebugUI_HistoryBoolField> IDebugUI_HistoryBoolFieldMethods for __T {}
2253
2254#[cfg(feature = "unity_engine-rendering-debugui")]
2255impl DebugUI_HistoryBoolField {
2256 pub fn get_history_getter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2257 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2258 }
2259
2260 pub fn set_history_getter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2261 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2262 }
2263
2264 pub fn get_history_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2265 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2266 }
2267
2268 pub fn get_history_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2270 }
2271
2272 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2274 }
2275}
2276
2277#[cfg(feature = "unity_engine-rendering-debugui")]
2278impl DebugUI_HistoryBoolField {
2279 #[doc = "`.ctor()` — no args"]
2280 pub fn new() -> Self {
2281 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2282 panic!(
2283 "{}
2284::{}
2285 failed to instantiate",
2286 ::core::stringify!(DebugUI_HistoryBoolField),
2287 ::core::stringify!(new),
2288 )
2289 });
2290 <Self as IDebugUI_HistoryBoolFieldMethods>::ctor(this);
2291 this
2292 }
2293}
2294
2295#[cfg(feature = "unity_engine-rendering-debugui")]
2296pub trait IDebugUI_Vector3FieldMethods: IDebugUI_Vector3Field {
2297 #[doc = "`.ctor()` overload"]
2298 fn ctor(self) -> () {
2299 unsafe {
2300 let __receiver = <DebugUI_Vector3Field as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2301 ::unity::il2cpp_call!((::unity::module_base()+0x33ece00usize)as*mut u8,();
2302(DebugUI_Vector3Field)__receiver)
2303 }
2304 }
2305}
2306
2307#[cfg(feature = "unity_engine-rendering-debugui")]
2308impl<__T: IDebugUI_Vector3Field> IDebugUI_Vector3FieldMethods for __T {}
2309
2310#[cfg(feature = "unity_engine-rendering-debugui")]
2311impl DebugUI_Vector3Field {
2312 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2313 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2314 }
2315}
2316
2317#[cfg(feature = "unity_engine-rendering-debugui")]
2318impl DebugUI_Vector3Field {
2319 #[doc = "`.ctor()` — no args"]
2320 pub fn new() -> Self {
2321 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2322 panic!(
2323 "{}
2324::{}
2325 failed to instantiate",
2326 ::core::stringify!(DebugUI_Vector3Field),
2327 ::core::stringify!(new),
2328 )
2329 });
2330 <Self as IDebugUI_Vector3FieldMethods>::ctor(this);
2331 this
2332 }
2333}
2334
2335#[cfg(feature = "unity_engine-rendering-debugui")]
2336pub trait IDebugUI_UIntFieldMethods: IDebugUI_UIntField {
2337 #[doc = "`ValidateValue(u32)` overload"]
2338 fn validate_value(self, value: impl ::core::convert::Into<u32>) -> u32 {
2339 unsafe {
2340 let __receiver = <DebugUI_UIntField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2341 {
2342 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2343 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
2344 panic!(
2345 "unity: virtual slot {}
2346 out of range (vtable len {}
2347) on the runtime class behind {}
2348 (method `{}
2349`)",
2350 15usize,
2351 __vt.len(),
2352 <DebugUI_UIntField as ::unity::ClassIdentity>::NAME,
2353 "ValidateValue",
2354 )
2355 });
2356 let __inner: extern "C" fn(DebugUI_UIntField, u32, ::unity::OptionalMethod) -> u32 = ::core::mem::transmute(__vi.method_ptr);
2357 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2358 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2359 }
2360 }
2361 }
2362 #[doc = "`.ctor()` overload"]
2363 fn ctor(self) -> () {
2364 unsafe {
2365 let __receiver = <DebugUI_UIntField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2366 ::unity::il2cpp_call!((::unity::module_base()+0x33ecbe0usize)as*mut u8,();
2367(DebugUI_UIntField)__receiver)
2368 }
2369 }
2370}
2371
2372#[cfg(feature = "unity_engine-rendering-debugui")]
2373impl<__T: IDebugUI_UIntField> IDebugUI_UIntFieldMethods for __T {}
2374
2375#[cfg(feature = "unity_engine-rendering-debugui")]
2376impl DebugUI_UIntField {
2377 pub fn validate_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2379 }
2380
2381 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2383 }
2384}
2385
2386#[cfg(feature = "unity_engine-rendering-debugui")]
2387impl DebugUI_UIntField {
2388 #[doc = "Direct (non-virtual) call to `DebugUI_UIntField`'s own `ValidateValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2389 pub unsafe fn validate_value(this: impl ::core::convert::Into<::unity::IlInstance>, value: u32) -> u32 {
2390 let __mi = Self::validate_value_method_info();
2391 let __inner: extern "C" fn(::unity::IlInstance, u32, ::unity::OptionalMethod) -> u32 = ::core::mem::transmute(__mi.method_ptr);
2392 __inner(this.into(), value, ::core::option::Option::None)
2393 }
2394}
2395
2396#[cfg(feature = "unity_engine-rendering-debugui")]
2397impl DebugUI_UIntField {
2398 #[doc = "`.ctor()` — no args"]
2399 pub fn new() -> Self {
2400 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2401 panic!(
2402 "{}
2403::{}
2404 failed to instantiate",
2405 ::core::stringify!(DebugUI_UIntField),
2406 ::core::stringify!(new),
2407 )
2408 });
2409 <Self as IDebugUI_UIntFieldMethods>::ctor(this);
2410 this
2411 }
2412}
2413
2414#[cfg(feature = "unity_engine-rendering-debugui")]
2415pub trait IDebugUI_PanelMethods: IDebugUI_Panel {
2416 #[doc = "`get_flags()` overload"]
2417 fn get_flags(self) -> crate::unity_engine::rendering::debugui::DebugUI_Flags {
2418 unsafe {
2419 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2420 ::unity::il2cpp_call!((::unity::module_base()+0x33ebef0usize)as*mut u8,crate::unity_engine::rendering::debugui::DebugUI_Flags;
2421(DebugUI_Panel)__receiver)
2422 }
2423 }
2424 #[doc = "`set_flags(crate::unity_engine::rendering::debugui::DebugUI_Flags)` overload"]
2425 fn set_flags(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Flags>) -> () {
2426 unsafe {
2427 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2428 ::unity::il2cpp_call!((::unity::module_base()+0x33ebf00usize)as*mut u8,();
2429(DebugUI_Panel)__receiver,(crate::unity_engine::rendering::debugui::DebugUI_Flags)::core::convert::Into::into(value))
2430 }
2431 }
2432 #[doc = "`get_displayName()` overload"]
2433 fn get_display_name(self) -> ::unity::Il2CppString {
2434 unsafe {
2435 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2436 {
2437 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2438 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
2439 panic!(
2440 "unity: virtual slot {}
2441 out of range (vtable len {}
2442) on the runtime class behind {}
2443 (method `{}
2444`)",
2445 5usize,
2446 __vt.len(),
2447 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2448 "get_displayName",
2449 )
2450 });
2451 let __inner: extern "C" fn(DebugUI_Panel, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
2452 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2453 __inner(__receiver, __mi)
2454 }
2455 }
2456 }
2457 #[doc = "`set_displayName(::unity::Il2CppString)` overload"]
2458 fn set_display_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
2459 unsafe {
2460 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2461 {
2462 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2463 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
2464 panic!(
2465 "unity: virtual slot {}
2466 out of range (vtable len {}
2467) on the runtime class behind {}
2468 (method `{}
2469`)",
2470 6usize,
2471 __vt.len(),
2472 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2473 "set_displayName",
2474 )
2475 });
2476 let __inner: extern "C" fn(DebugUI_Panel, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
2477 ::core::mem::transmute(__vi.method_ptr);
2478 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2479 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2480 }
2481 }
2482 }
2483 #[doc = "`get_groupIndex()` overload"]
2484 fn get_group_index(self) -> i32 {
2485 unsafe {
2486 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2487 ::unity::il2cpp_call!((::unity::module_base()+0x33ebf30usize)as*mut u8,i32;
2488(DebugUI_Panel)__receiver)
2489 }
2490 }
2491 #[doc = "`set_groupIndex(i32)` overload"]
2492 fn set_group_index(self, value: impl ::core::convert::Into<i32>) -> () {
2493 unsafe {
2494 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2495 ::unity::il2cpp_call!((::unity::module_base()+0x33ebf40usize)as*mut u8,();
2496(DebugUI_Panel)__receiver,(i32)::core::convert::Into::into(value))
2497 }
2498 }
2499 #[doc = "`get_queryPath()` overload"]
2500 fn get_query_path(self) -> ::unity::Il2CppString {
2501 unsafe {
2502 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2503 {
2504 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2505 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
2506 panic!(
2507 "unity: virtual slot {}
2508 out of range (vtable len {}
2509) on the runtime class behind {}
2510 (method `{}
2511`)",
2512 7usize,
2513 __vt.len(),
2514 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2515 "get_queryPath",
2516 )
2517 });
2518 let __inner: extern "C" fn(DebugUI_Panel, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
2519 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2520 __inner(__receiver, __mi)
2521 }
2522 }
2523 }
2524 #[doc = "`get_isEditorOnly()` overload"]
2525 fn get_is_editor_only(self) -> bool {
2526 unsafe {
2527 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2528 ::unity::il2cpp_call!((::unity::module_base()+0x33ebf60usize)as*mut u8,bool;
2529(DebugUI_Panel)__receiver)
2530 }
2531 }
2532 #[doc = "`get_isRuntimeOnly()` overload"]
2533 fn get_is_runtime_only(self) -> bool {
2534 unsafe {
2535 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2536 ::unity::il2cpp_call!((::unity::module_base()+0x33ebf70usize)as*mut u8,bool;
2537(DebugUI_Panel)__receiver)
2538 }
2539 }
2540 #[doc = "`get_isInactiveInEditor()` overload"]
2541 fn get_is_inactive_in_editor(self) -> bool {
2542 unsafe {
2543 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2544 ::unity::il2cpp_call!((::unity::module_base()+0x33ebf80usize)as*mut u8,bool;
2545(DebugUI_Panel)__receiver)
2546 }
2547 }
2548 #[doc = "`get_editorForceUpdate()` overload"]
2549 fn get_editor_force_update(self) -> bool {
2550 unsafe {
2551 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2552 ::unity::il2cpp_call!((::unity::module_base()+0x33ebfc0usize)as*mut u8,bool;
2553(DebugUI_Panel)__receiver)
2554 }
2555 }
2556 #[doc = "`get_children()` overload"]
2557 fn get_children(
2558 self,
2559 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget> {
2560 unsafe {
2561 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2562 {
2563 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2564 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
2565 panic!(
2566 "unity: virtual slot {}
2567 out of range (vtable len {}
2568) on the runtime class behind {}
2569 (method `{}
2570`)",
2571 4usize,
2572 __vt.len(),
2573 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2574 "get_children",
2575 )
2576 });
2577 let __inner: extern "C" fn(
2578 DebugUI_Panel,
2579 ::unity::OptionalMethod,
2580 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<
2581 crate::unity_engine::rendering::debugui::DebugUI_Widget,
2582 > = ::core::mem::transmute(__vi.method_ptr);
2583 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2584 __inner(__receiver, __mi)
2585 }
2586 }
2587 }
2588 #[doc = "`set_children(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
2589 fn set_children(
2590 self,
2591 value: impl ::core::convert::Into<
2592 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2593 >,
2594 ) -> () {
2595 unsafe {
2596 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2597 ::unity::il2cpp_call!((::unity::module_base()+0x33ebfe0usize)as*mut u8,();
2598(DebugUI_Panel)__receiver,(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)::core::convert::Into::into(value))
2599 }
2600 }
2601 #[doc = "`add_onSetDirty(crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>)` overload"]
2602 fn add_on_set_dirty(
2603 self,
2604 value: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>>,
2605 ) -> () {
2606 unsafe {
2607 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2608 ::unity::il2cpp_call!((::unity::module_base()+0x33ebff0usize)as*mut u8,();
2609(DebugUI_Panel)__receiver,(crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>)::core::convert::Into::into(value))
2610 }
2611 }
2612 #[doc = "`remove_onSetDirty(crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>)` overload"]
2613 fn remove_on_set_dirty(
2614 self,
2615 value: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>>,
2616 ) -> () {
2617 unsafe {
2618 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2619 ::unity::il2cpp_call!((::unity::module_base()+0x33ec0a0usize)as*mut u8,();
2620(DebugUI_Panel)__receiver,(crate::system::action_1::Action_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>)::core::convert::Into::into(value))
2621 }
2622 }
2623 #[doc = "`.ctor()` overload"]
2624 fn ctor(self) -> () {
2625 unsafe {
2626 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2627 ::unity::il2cpp_call!((::unity::module_base()+0x33ec150usize)as*mut u8,();
2628(DebugUI_Panel)__receiver)
2629 }
2630 }
2631 #[doc = "`OnItemAdded(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
2632 fn on_item_added(
2633 self,
2634 sender: impl ::core::convert::Into<
2635 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2636 >,
2637 e: impl ::core::convert::Into<
2638 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2639 >,
2640 ) -> () {
2641 unsafe {
2642 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2643 {
2644 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2645 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
2646 panic!(
2647 "unity: virtual slot {}
2648 out of range (vtable len {}
2649) on the runtime class behind {}
2650 (method `{}
2651`)",
2652 9usize,
2653 __vt.len(),
2654 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2655 "OnItemAdded",
2656 )
2657 });
2658 let __inner: extern "C" fn(
2659 DebugUI_Panel,
2660 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2661 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<
2662 crate::unity_engine::rendering::debugui::DebugUI_Widget,
2663 >,
2664 ::unity::OptionalMethod,
2665 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2666 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2667 __inner(__receiver, ::core::convert::Into::into(sender), ::core::convert::Into::into(e), __mi)
2668 }
2669 }
2670 }
2671 #[doc = "`OnItemRemoved(crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>, crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>)` overload"]
2672 fn on_item_removed(
2673 self,
2674 sender: impl ::core::convert::Into<
2675 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2676 >,
2677 e: impl ::core::convert::Into<
2678 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2679 >,
2680 ) -> () {
2681 unsafe {
2682 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2683 {
2684 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2685 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
2686 panic!(
2687 "unity: virtual slot {}
2688 out of range (vtable len {}
2689) on the runtime class behind {}
2690 (method `{}
2691`)",
2692 10usize,
2693 __vt.len(),
2694 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2695 "OnItemRemoved",
2696 )
2697 });
2698 let __inner: extern "C" fn(
2699 DebugUI_Panel,
2700 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2701 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<
2702 crate::unity_engine::rendering::debugui::DebugUI_Widget,
2703 >,
2704 ::unity::OptionalMethod,
2705 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2706 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2707 __inner(__receiver, ::core::convert::Into::into(sender), ::core::convert::Into::into(e), __mi)
2708 }
2709 }
2710 }
2711 #[doc = "`SetDirty()` overload"]
2712 fn set_dirty(self) -> () {
2713 unsafe {
2714 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2715 ::unity::il2cpp_call!((::unity::module_base()+0x33eabf0usize)as*mut u8,();
2716(DebugUI_Panel)__receiver)
2717 }
2718 }
2719 #[doc = "`GetHashCode()` overload"]
2720 fn get_hash_code(self) -> i32 {
2721 unsafe {
2722 let __receiver = <DebugUI_Panel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2723 {
2724 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2725 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
2726 panic!(
2727 "unity: virtual slot {}
2728 out of range (vtable len {}
2729) on the runtime class behind {}
2730 (method `{}
2731`)",
2732 2usize,
2733 __vt.len(),
2734 <DebugUI_Panel as ::unity::ClassIdentity>::NAME,
2735 "GetHashCode",
2736 )
2737 });
2738 let __inner: extern "C" fn(DebugUI_Panel, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
2739 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2740 __inner(__receiver, __mi)
2741 }
2742 }
2743 }
2744}
2745
2746#[cfg(feature = "unity_engine-rendering-debugui")]
2747impl<__T: IDebugUI_Panel> IDebugUI_PanelMethods for __T {}
2748
2749#[cfg(feature = "unity_engine-rendering-debugui")]
2750impl DebugUI_Panel {
2751 pub fn get_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2752 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2753 }
2754
2755 pub fn set_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2757 }
2758
2759 pub fn get_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2761 }
2762
2763 pub fn set_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2764 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2765 }
2766
2767 pub fn get_group_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2768 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2769 }
2770
2771 pub fn set_group_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2772 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2773 }
2774
2775 pub fn get_query_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2776 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2777 }
2778
2779 pub fn get_is_editor_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2781 }
2782
2783 pub fn get_is_runtime_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
2785 }
2786
2787 pub fn get_is_inactive_in_editor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2788 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
2789 }
2790
2791 pub fn get_editor_force_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2792 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
2793 }
2794
2795 pub fn get_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2796 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
2797 }
2798
2799 pub fn set_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2800 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
2801 }
2802
2803 pub fn add_on_set_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2804 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
2805 }
2806
2807 pub fn remove_on_set_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2808 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
2809 }
2810
2811 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2812 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
2813 }
2814
2815 pub fn on_item_added_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2816 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
2817 }
2818
2819 pub fn on_item_removed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2820 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
2821 }
2822
2823 pub fn set_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2824 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
2825 }
2826
2827 pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2828 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
2829 }
2830}
2831
2832#[cfg(feature = "unity_engine-rendering-debugui")]
2833impl DebugUI_Panel {
2834 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `get_displayName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2835 pub unsafe fn get_display_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
2836 let __mi = Self::get_display_name_method_info();
2837 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
2838 __inner(this.into(), ::core::option::Option::None)
2839 }
2840
2841 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `set_displayName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2842 pub unsafe fn set_display_name(this: impl ::core::convert::Into<::unity::IlInstance>, value: ::unity::Il2CppString) -> () {
2843 let __mi = Self::set_display_name_method_info();
2844 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
2845 ::core::mem::transmute(__mi.method_ptr);
2846 __inner(this.into(), value, ::core::option::Option::None)
2847 }
2848
2849 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `get_queryPath`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2850 pub unsafe fn get_query_path(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
2851 let __mi = Self::get_query_path_method_info();
2852 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
2853 __inner(this.into(), ::core::option::Option::None)
2854 }
2855
2856 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `get_children`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2857 pub unsafe fn get_children(
2858 this: impl ::core::convert::Into<::unity::IlInstance>,
2859 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget> {
2860 let __mi = Self::get_children_method_info();
2861 let __inner: extern "C" fn(
2862 ::unity::IlInstance,
2863 ::unity::OptionalMethod,
2864 ) -> crate::unity_engine::rendering::observablelist_1::ObservableList_1<
2865 crate::unity_engine::rendering::debugui::DebugUI_Widget,
2866 > = ::core::mem::transmute(__mi.method_ptr);
2867 __inner(this.into(), ::core::option::Option::None)
2868 }
2869
2870 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `OnItemAdded`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2871 pub unsafe fn on_item_added(
2872 this: impl ::core::convert::Into<::unity::IlInstance>,
2873 sender: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2874 e: crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2875 ) -> () {
2876 let __mi = Self::on_item_added_method_info();
2877 let __inner: extern "C" fn(
2878 ::unity::IlInstance,
2879 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2880 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2881 ::unity::OptionalMethod,
2882 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2883 __inner(this.into(), sender, e, ::core::option::Option::None)
2884 }
2885
2886 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `OnItemRemoved`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2887 pub unsafe fn on_item_removed(
2888 this: impl ::core::convert::Into<::unity::IlInstance>,
2889 sender: crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2890 e: crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2891 ) -> () {
2892 let __mi = Self::on_item_removed_method_info();
2893 let __inner: extern "C" fn(
2894 ::unity::IlInstance,
2895 crate::unity_engine::rendering::observablelist_1::ObservableList_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2896 crate::unity_engine::rendering::listchangedeventargs_1::ListChangedEventArgs_1<crate::unity_engine::rendering::debugui::DebugUI_Widget>,
2897 ::unity::OptionalMethod,
2898 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2899 __inner(this.into(), sender, e, ::core::option::Option::None)
2900 }
2901
2902 #[doc = "Direct (non-virtual) call to `DebugUI_Panel`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2903 pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
2904 let __mi = Self::get_hash_code_method_info();
2905 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2906 __inner(this.into(), ::core::option::Option::None)
2907 }
2908}
2909
2910#[cfg(feature = "unity_engine-rendering-debugui")]
2911impl DebugUI_Panel {
2912 #[doc = "`.ctor()` — no args"]
2913 pub fn new() -> Self {
2914 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2915 panic!(
2916 "{}
2917::{}
2918 failed to instantiate",
2919 ::core::stringify!(DebugUI_Panel),
2920 ::core::stringify!(new),
2921 )
2922 });
2923 <Self as IDebugUI_PanelMethods>::ctor(this);
2924 this
2925 }
2926}
2927
2928#[cfg(feature = "unity_engine-rendering-debugui")]
2929pub trait IDebugUI_BoolFieldMethods: IDebugUI_BoolField {
2930 #[doc = "`.ctor()` overload"]
2931 fn ctor(self) -> () {
2932 unsafe {
2933 let __receiver = <DebugUI_BoolField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2934 ::unity::il2cpp_call!((::unity::module_base()+0x33ea150usize)as*mut u8,();
2935(DebugUI_BoolField)__receiver)
2936 }
2937 }
2938}
2939
2940#[cfg(feature = "unity_engine-rendering-debugui")]
2941impl<__T: IDebugUI_BoolField> IDebugUI_BoolFieldMethods for __T {}
2942
2943#[cfg(feature = "unity_engine-rendering-debugui")]
2944impl DebugUI_BoolField {
2945 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2946 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2947 }
2948}
2949
2950#[cfg(feature = "unity_engine-rendering-debugui")]
2951impl DebugUI_BoolField {
2952 #[doc = "`.ctor()` — no args"]
2953 pub fn new() -> Self {
2954 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2955 panic!(
2956 "{}
2957::{}
2958 failed to instantiate",
2959 ::core::stringify!(DebugUI_BoolField),
2960 ::core::stringify!(new),
2961 )
2962 });
2963 <Self as IDebugUI_BoolFieldMethods>::ctor(this);
2964 this
2965 }
2966}
2967
2968#[cfg(feature = "unity_engine-rendering-debugui")]
2969pub trait IDebugUI_BitFieldMethods: IDebugUI_BitField {
2970 #[doc = "`get_enumNames()` overload"]
2971 fn get_enum_names(self) -> ::unity::Array<crate::unity_engine::guicontent::GUIContent> {
2972 unsafe {
2973 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2974 ::unity::il2cpp_call!((::unity::module_base()+0x33e9de0usize)as*mut u8, ::unity::Array<crate::unity_engine::guicontent::GUIContent> ;
2975(DebugUI_BitField)__receiver)
2976 }
2977 }
2978 #[doc = "`set_enumNames(::unity::Array<crate::unity_engine::guicontent::GUIContent>)` overload"]
2979 fn set_enum_names(self, value: impl ::core::convert::Into<::unity::Array<crate::unity_engine::guicontent::GUIContent>>) -> () {
2980 unsafe {
2981 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2982 ::unity::il2cpp_call!((::unity::module_base()+0x33e9df0usize)as*mut u8,();
2983(DebugUI_BitField)__receiver,(::unity::Array<crate::unity_engine::guicontent::GUIContent>)::core::convert::Into::into(value))
2984 }
2985 }
2986 #[doc = "`get_enumValues()` overload"]
2987 fn get_enum_values(self) -> ::unity::Array<i32> {
2988 unsafe {
2989 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2990 ::unity::il2cpp_call!((::unity::module_base()+0x33e9e00usize)as*mut u8, ::unity::Array<i32> ;
2991(DebugUI_BitField)__receiver)
2992 }
2993 }
2994 #[doc = "`set_enumValues(::unity::Array<i32>)` overload"]
2995 fn set_enum_values(self, value: impl ::core::convert::Into<::unity::Array<i32>>) -> () {
2996 unsafe {
2997 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2998 ::unity::il2cpp_call!((::unity::module_base()+0x33e9e10usize)as*mut u8,();
2999(DebugUI_BitField)__receiver,(::unity::Array<i32>)::core::convert::Into::into(value))
3000 }
3001 }
3002 #[doc = "`set_enumType(::unity::SystemType)` overload"]
3003 fn set_enum_type(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
3004 unsafe {
3005 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3006 ::unity::il2cpp_call!((::unity::module_base()+0x33e9e20usize)as*mut u8,();
3007(DebugUI_BitField)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
3008 }
3009 }
3010 #[doc = "`get_enumType()` overload"]
3011 fn get_enum_type(self) -> ::unity::SystemType {
3012 unsafe {
3013 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3014 ::unity::il2cpp_call!((::unity::module_base()+0x33ea0e0usize)as*mut u8, ::unity::SystemType;
3015(DebugUI_BitField)__receiver)
3016 }
3017 }
3018 #[doc = "`.ctor()` overload"]
3019 fn ctor(self) -> () {
3020 unsafe {
3021 let __receiver = <DebugUI_BitField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3022 ::unity::il2cpp_call!((::unity::module_base()+0x33ea0f0usize)as*mut u8,();
3023(DebugUI_BitField)__receiver)
3024 }
3025 }
3026}
3027
3028#[cfg(feature = "unity_engine-rendering-debugui")]
3029impl<__T: IDebugUI_BitField> IDebugUI_BitFieldMethods for __T {}
3030
3031#[cfg(feature = "unity_engine-rendering-debugui")]
3032impl DebugUI_BitField {
3033 pub fn get_enum_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3035 }
3036
3037 pub fn set_enum_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3039 }
3040
3041 pub fn get_enum_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
3043 }
3044
3045 pub fn set_enum_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
3047 }
3048
3049 pub fn set_enum_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
3051 }
3052
3053 pub fn get_enum_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
3055 }
3056
3057 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
3059 }
3060}
3061
3062#[cfg(feature = "unity_engine-rendering-debugui")]
3063impl DebugUI_BitField {
3064 #[doc = "`.ctor()` — no args"]
3065 pub fn new() -> Self {
3066 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3067 panic!(
3068 "{}
3069::{}
3070 failed to instantiate",
3071 ::core::stringify!(DebugUI_BitField),
3072 ::core::stringify!(new),
3073 )
3074 });
3075 <Self as IDebugUI_BitFieldMethods>::ctor(this);
3076 this
3077 }
3078}
3079
3080#[cfg(feature = "unity_engine-rendering-debugui")]
3081pub trait IDebugUIMethods: IDebugUI {
3082 #[doc = "`.ctor()` overload"]
3083 fn ctor(self) -> () {
3084 unsafe {
3085 let __receiver = <DebugUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3086 ::unity::il2cpp_call!((::unity::module_base()+0x353b820usize)as*mut u8,();
3087(DebugUI)__receiver)
3088 }
3089 }
3090}
3091
3092#[cfg(feature = "unity_engine-rendering-debugui")]
3093impl<__T: IDebugUI> IDebugUIMethods for __T {}
3094
3095#[cfg(feature = "unity_engine-rendering-debugui")]
3096impl DebugUI {
3097 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3098 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3099 }
3100}
3101
3102#[cfg(feature = "unity_engine-rendering-debugui")]
3103impl DebugUI {
3104 #[doc = "`.ctor()` — no args"]
3105 pub fn new() -> Self {
3106 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3107 panic!(
3108 "{}
3109::{}
3110 failed to instantiate",
3111 ::core::stringify!(DebugUI),
3112 ::core::stringify!(new),
3113 )
3114 });
3115 <Self as IDebugUIMethods>::ctor(this);
3116 this
3117 }
3118}
3119
3120#[cfg(feature = "unity_engine-rendering-debugui")]
3121pub trait IDebugUI_Table_RowMethods: IDebugUI_Table_Row {
3122 #[doc = "`.ctor()` overload"]
3123 fn ctor(self) -> () {
3124 unsafe {
3125 let __receiver = <DebugUI_Table_Row as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3126 ::unity::il2cpp_call!((::unity::module_base()+0x33eeb40usize)as*mut u8,();
3127(DebugUI_Table_Row)__receiver)
3128 }
3129 }
3130}
3131
3132#[cfg(feature = "unity_engine-rendering-debugui")]
3133impl<__T: IDebugUI_Table_Row> IDebugUI_Table_RowMethods for __T {}
3134
3135#[cfg(feature = "unity_engine-rendering-debugui")]
3136impl DebugUI_Table_Row {
3137 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3139 }
3140}
3141
3142#[cfg(feature = "unity_engine-rendering-debugui")]
3143impl DebugUI_Table_Row {
3144 #[doc = "`.ctor()` — no args"]
3145 pub fn new() -> Self {
3146 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3147 panic!(
3148 "{}
3149::{}
3150 failed to instantiate",
3151 ::core::stringify!(DebugUI_Table_Row),
3152 ::core::stringify!(new),
3153 )
3154 });
3155 <Self as IDebugUI_Table_RowMethods>::ctor(this);
3156 this
3157 }
3158}
3159
3160#[cfg(feature = "unity_engine-rendering-debugui")]
3161pub trait IDebugUI_Vector2FieldMethods: IDebugUI_Vector2Field {
3162 #[doc = "`.ctor()` overload"]
3163 fn ctor(self) -> () {
3164 unsafe {
3165 let __receiver = <DebugUI_Vector2Field as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3166 ::unity::il2cpp_call!((::unity::module_base()+0x33ecd90usize)as*mut u8,();
3167(DebugUI_Vector2Field)__receiver)
3168 }
3169 }
3170}
3171
3172#[cfg(feature = "unity_engine-rendering-debugui")]
3173impl<__T: IDebugUI_Vector2Field> IDebugUI_Vector2FieldMethods for __T {}
3174
3175#[cfg(feature = "unity_engine-rendering-debugui")]
3176impl DebugUI_Vector2Field {
3177 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3179 }
3180}
3181
3182#[cfg(feature = "unity_engine-rendering-debugui")]
3183impl DebugUI_Vector2Field {
3184 #[doc = "`.ctor()` — no args"]
3185 pub fn new() -> Self {
3186 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3187 panic!(
3188 "{}
3189::{}
3190 failed to instantiate",
3191 ::core::stringify!(DebugUI_Vector2Field),
3192 ::core::stringify!(new),
3193 )
3194 });
3195 <Self as IDebugUI_Vector2FieldMethods>::ctor(this);
3196 this
3197 }
3198}
3199
3200#[cfg(feature = "unity_engine-rendering-debugui")]
3201pub trait IDebugUI_VBoxMethods: IDebugUI_VBox {
3202 #[doc = "`.ctor()` overload"]
3203 fn ctor(self) -> () {
3204 unsafe {
3205 let __receiver = <DebugUI_VBox as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3206 ::unity::il2cpp_call!((::unity::module_base()+0x33ecc40usize)as*mut u8,();
3207(DebugUI_VBox)__receiver)
3208 }
3209 }
3210}
3211
3212#[cfg(feature = "unity_engine-rendering-debugui")]
3213impl<__T: IDebugUI_VBox> IDebugUI_VBoxMethods for __T {}
3214
3215#[cfg(feature = "unity_engine-rendering-debugui")]
3216impl DebugUI_VBox {
3217 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3219 }
3220}
3221
3222#[cfg(feature = "unity_engine-rendering-debugui")]
3223impl DebugUI_VBox {
3224 #[doc = "`.ctor()` — no args"]
3225 pub fn new() -> Self {
3226 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3227 panic!(
3228 "{}
3229::{}
3230 failed to instantiate",
3231 ::core::stringify!(DebugUI_VBox),
3232 ::core::stringify!(new),
3233 )
3234 });
3235 <Self as IDebugUI_VBoxMethods>::ctor(this);
3236 this
3237 }
3238}
3239
3240#[cfg(feature = "unity_engine-rendering-debugui")]
3241pub trait IDebugUI_IValueFieldMethods: IDebugUI_IValueField {
3242 #[doc = "`GetValue()` overload"]
3243 fn get_value(self) -> crate::system::object::Object {
3244 unsafe {
3245 let __receiver = <DebugUI_IValueField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3246 {
3247 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3248 let __vi = *__vt.get(0usize).unwrap_or_else(|| {
3249 panic!(
3250 "unity: virtual slot {}
3251 out of range (vtable len {}
3252) on the runtime class behind {}
3253 (method `{}
3254`)",
3255 0usize,
3256 __vt.len(),
3257 <DebugUI_IValueField as ::unity::ClassIdentity>::NAME,
3258 "GetValue",
3259 )
3260 });
3261 let __inner: extern "C" fn(DebugUI_IValueField, ::unity::OptionalMethod) -> crate::system::object::Object =
3262 ::core::mem::transmute(__vi.method_ptr);
3263 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3264 __inner(__receiver, __mi)
3265 }
3266 }
3267 }
3268 #[doc = "`SetValue(crate::system::object::Object)` overload"]
3269 fn set_value(self, value: impl ::core::convert::Into<crate::system::object::Object>) -> () {
3270 unsafe {
3271 let __receiver = <DebugUI_IValueField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3272 {
3273 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3274 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
3275 panic!(
3276 "unity: virtual slot {}
3277 out of range (vtable len {}
3278) on the runtime class behind {}
3279 (method `{}
3280`)",
3281 1usize,
3282 __vt.len(),
3283 <DebugUI_IValueField as ::unity::ClassIdentity>::NAME,
3284 "SetValue",
3285 )
3286 });
3287 let __inner: extern "C" fn(DebugUI_IValueField, crate::system::object::Object, ::unity::OptionalMethod) -> () =
3288 ::core::mem::transmute(__vi.method_ptr);
3289 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3290 __inner(__receiver, ::core::convert::Into::into(value), __mi)
3291 }
3292 }
3293 }
3294 #[doc = "`ValidateValue(crate::system::object::Object)` overload"]
3295 fn validate_value(self, value: impl ::core::convert::Into<crate::system::object::Object>) -> crate::system::object::Object {
3296 unsafe {
3297 let __receiver = <DebugUI_IValueField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3298 {
3299 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3300 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
3301 panic!(
3302 "unity: virtual slot {}
3303 out of range (vtable len {}
3304) on the runtime class behind {}
3305 (method `{}
3306`)",
3307 2usize,
3308 __vt.len(),
3309 <DebugUI_IValueField as ::unity::ClassIdentity>::NAME,
3310 "ValidateValue",
3311 )
3312 });
3313 let __inner: extern "C" fn(
3314 DebugUI_IValueField,
3315 crate::system::object::Object,
3316 ::unity::OptionalMethod,
3317 ) -> crate::system::object::Object = ::core::mem::transmute(__vi.method_ptr);
3318 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3319 __inner(__receiver, ::core::convert::Into::into(value), __mi)
3320 }
3321 }
3322 }
3323}
3324
3325#[cfg(feature = "unity_engine-rendering-debugui")]
3326impl<__T: IDebugUI_IValueField> IDebugUI_IValueFieldMethods for __T {}
3327
3328#[cfg(feature = "unity_engine-rendering-debugui")]
3329impl DebugUI_IValueField {
3330 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3331 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3332 }
3333
3334 pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3335 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3336 }
3337
3338 pub fn validate_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3339 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
3340 }
3341}
3342
3343#[cfg(feature = "unity_engine-rendering-debugui")]
3344impl DebugUI_IValueField {
3345 #[doc = "Direct (non-virtual) call to `DebugUI_IValueField`'s own `GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3346 pub unsafe fn get_value(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::object::Object {
3347 let __mi = Self::get_value_method_info();
3348 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
3349 ::core::mem::transmute(__mi.method_ptr);
3350 __inner(this.into(), ::core::option::Option::None)
3351 }
3352
3353 #[doc = "Direct (non-virtual) call to `DebugUI_IValueField`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3354 pub unsafe fn set_value(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::system::object::Object) -> () {
3355 let __mi = Self::set_value_method_info();
3356 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> () =
3357 ::core::mem::transmute(__mi.method_ptr);
3358 __inner(this.into(), value, ::core::option::Option::None)
3359 }
3360
3361 #[doc = "Direct (non-virtual) call to `DebugUI_IValueField`'s own `ValidateValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3362 pub unsafe fn validate_value(
3363 this: impl ::core::convert::Into<::unity::IlInstance>,
3364 value: crate::system::object::Object,
3365 ) -> crate::system::object::Object {
3366 let __mi = Self::validate_value_method_info();
3367 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> crate::system::object::Object =
3368 ::core::mem::transmute(__mi.method_ptr);
3369 __inner(this.into(), value, ::core::option::Option::None)
3370 }
3371}
3372
3373#[cfg(feature = "unity_engine-rendering-debugui")]
3374pub trait IDebugUI_IntFieldMethods: IDebugUI_IntField {
3375 #[doc = "`ValidateValue(i32)` overload"]
3376 fn validate_value(self, value: impl ::core::convert::Into<i32>) -> i32 {
3377 unsafe {
3378 let __receiver = <DebugUI_IntField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3379 {
3380 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3381 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
3382 panic!(
3383 "unity: virtual slot {}
3384 out of range (vtable len {}
3385) on the runtime class behind {}
3386 (method `{}
3387`)",
3388 15usize,
3389 __vt.len(),
3390 <DebugUI_IntField as ::unity::ClassIdentity>::NAME,
3391 "ValidateValue",
3392 )
3393 });
3394 let __inner: extern "C" fn(DebugUI_IntField, i32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
3395 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3396 __inner(__receiver, ::core::convert::Into::into(value), __mi)
3397 }
3398 }
3399 }
3400 #[doc = "`.ctor()` overload"]
3401 fn ctor(self) -> () {
3402 unsafe {
3403 let __receiver = <DebugUI_IntField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3404 ::unity::il2cpp_call!((::unity::module_base()+0x33ebe90usize)as*mut u8,();
3405(DebugUI_IntField)__receiver)
3406 }
3407 }
3408}
3409
3410#[cfg(feature = "unity_engine-rendering-debugui")]
3411impl<__T: IDebugUI_IntField> IDebugUI_IntFieldMethods for __T {}
3412
3413#[cfg(feature = "unity_engine-rendering-debugui")]
3414impl DebugUI_IntField {
3415 pub fn validate_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3416 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3417 }
3418
3419 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3420 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3421 }
3422}
3423
3424#[cfg(feature = "unity_engine-rendering-debugui")]
3425impl DebugUI_IntField {
3426 #[doc = "Direct (non-virtual) call to `DebugUI_IntField`'s own `ValidateValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3427 pub unsafe fn validate_value(this: impl ::core::convert::Into<::unity::IlInstance>, value: i32) -> i32 {
3428 let __mi = Self::validate_value_method_info();
3429 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
3430 __inner(this.into(), value, ::core::option::Option::None)
3431 }
3432}
3433
3434#[cfg(feature = "unity_engine-rendering-debugui")]
3435impl DebugUI_IntField {
3436 #[doc = "`.ctor()` — no args"]
3437 pub fn new() -> Self {
3438 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3439 panic!(
3440 "{}
3441::{}
3442 failed to instantiate",
3443 ::core::stringify!(DebugUI_IntField),
3444 ::core::stringify!(new),
3445 )
3446 });
3447 <Self as IDebugUI_IntFieldMethods>::ctor(this);
3448 this
3449 }
3450}
3451
3452#[cfg(feature = "unity_engine-rendering-debugui")]
3453pub trait IDebugUI_Vector4FieldMethods: IDebugUI_Vector4Field {
3454 #[doc = "`.ctor()` overload"]
3455 fn ctor(self) -> () {
3456 unsafe {
3457 let __receiver = <DebugUI_Vector4Field as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3458 ::unity::il2cpp_call!((::unity::module_base()+0x33ece70usize)as*mut u8,();
3459(DebugUI_Vector4Field)__receiver)
3460 }
3461 }
3462}
3463
3464#[cfg(feature = "unity_engine-rendering-debugui")]
3465impl<__T: IDebugUI_Vector4Field> IDebugUI_Vector4FieldMethods for __T {}
3466
3467#[cfg(feature = "unity_engine-rendering-debugui")]
3468impl DebugUI_Vector4Field {
3469 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3471 }
3472}
3473
3474#[cfg(feature = "unity_engine-rendering-debugui")]
3475impl DebugUI_Vector4Field {
3476 #[doc = "`.ctor()` — no args"]
3477 pub fn new() -> Self {
3478 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3479 panic!(
3480 "{}
3481::{}
3482 failed to instantiate",
3483 ::core::stringify!(DebugUI_Vector4Field),
3484 ::core::stringify!(new),
3485 )
3486 });
3487 <Self as IDebugUI_Vector4FieldMethods>::ctor(this);
3488 this
3489 }
3490}
3491
3492#[cfg(feature = "unity_engine-rendering-debugui")]
3493pub trait IDebugUI_ColorFieldMethods: IDebugUI_ColorField {
3494 #[doc = "`ValidateValue(crate::unity_engine::color::Color)` overload"]
3495 fn validate_value(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> crate::unity_engine::color::Color {
3496 unsafe {
3497 let __receiver = <DebugUI_ColorField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3498 {
3499 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3500 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
3501 panic!(
3502 "unity: virtual slot {}
3503 out of range (vtable len {}
3504) on the runtime class behind {}
3505 (method `{}
3506`)",
3507 15usize,
3508 __vt.len(),
3509 <DebugUI_ColorField as ::unity::ClassIdentity>::NAME,
3510 "ValidateValue",
3511 )
3512 });
3513 let __inner: extern "C" fn(
3514 DebugUI_ColorField,
3515 crate::unity_engine::color::Color,
3516 ::unity::OptionalMethod,
3517 ) -> crate::unity_engine::color::Color = ::core::mem::transmute(__vi.method_ptr);
3518 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3519 __inner(__receiver, ::core::convert::Into::into(value), __mi)
3520 }
3521 }
3522 }
3523 #[doc = "`.ctor()` overload"]
3524 fn ctor(self) -> () {
3525 unsafe {
3526 let __receiver = <DebugUI_ColorField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3527 ::unity::il2cpp_call!((::unity::module_base()+0x33ea280usize)as*mut u8,();
3528(DebugUI_ColorField)__receiver)
3529 }
3530 }
3531}
3532
3533#[cfg(feature = "unity_engine-rendering-debugui")]
3534impl<__T: IDebugUI_ColorField> IDebugUI_ColorFieldMethods for __T {}
3535
3536#[cfg(feature = "unity_engine-rendering-debugui")]
3537impl DebugUI_ColorField {
3538 pub fn validate_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3539 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3540 }
3541
3542 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3543 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3544 }
3545}
3546
3547#[cfg(feature = "unity_engine-rendering-debugui")]
3548impl DebugUI_ColorField {
3549 #[doc = "Direct (non-virtual) call to `DebugUI_ColorField`'s own `ValidateValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3550 pub unsafe fn validate_value(
3551 this: impl ::core::convert::Into<::unity::IlInstance>,
3552 value: crate::unity_engine::color::Color,
3553 ) -> crate::unity_engine::color::Color {
3554 let __mi = Self::validate_value_method_info();
3555 let __inner: extern "C" fn(
3556 ::unity::IlInstance,
3557 crate::unity_engine::color::Color,
3558 ::unity::OptionalMethod,
3559 ) -> crate::unity_engine::color::Color = ::core::mem::transmute(__mi.method_ptr);
3560 __inner(this.into(), value, ::core::option::Option::None)
3561 }
3562}
3563
3564#[cfg(feature = "unity_engine-rendering-debugui")]
3565impl DebugUI_ColorField {
3566 #[doc = "`.ctor()` — no args"]
3567 pub fn new() -> Self {
3568 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3569 panic!(
3570 "{}
3571::{}
3572 failed to instantiate",
3573 ::core::stringify!(DebugUI_ColorField),
3574 ::core::stringify!(new),
3575 )
3576 });
3577 <Self as IDebugUI_ColorFieldMethods>::ctor(this);
3578 this
3579 }
3580}
3581
3582#[cfg(feature = "unity_engine-rendering-debugui")]
3583pub trait IDebugUI_HistoryEnumFieldMethods: IDebugUI_HistoryEnumField {
3584 #[doc = "`get_historyIndexGetter()` overload"]
3585 fn get_history_index_getter(self) -> ::unity::Array<crate::system::func_1::Func_1<i32>> {
3586 unsafe {
3587 let __receiver =
3588 <DebugUI_HistoryEnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3589 ::unity::il2cpp_call!((::unity::module_base()+0x33ebcc0usize)as*mut u8, ::unity::Array<crate::system::func_1::Func_1<i32> > ;
3590(DebugUI_HistoryEnumField)__receiver)
3591 }
3592 }
3593 #[doc = "`set_historyIndexGetter(::unity::Array<crate::system::func_1::Func_1<i32>>)` overload"]
3594 fn set_history_index_getter(self, value: impl ::core::convert::Into<::unity::Array<crate::system::func_1::Func_1<i32>>>) -> () {
3595 unsafe {
3596 let __receiver =
3597 <DebugUI_HistoryEnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3598 ::unity::il2cpp_call!((::unity::module_base()+0x33ebcd0usize)as*mut u8,();
3599(DebugUI_HistoryEnumField)__receiver,(::unity::Array<crate::system::func_1::Func_1<i32> >)::core::convert::Into::into(value))
3600 }
3601 }
3602 #[doc = "`get_historyDepth()` overload"]
3603 fn get_history_depth(self) -> i32 {
3604 unsafe {
3605 let __receiver =
3606 <DebugUI_HistoryEnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3607 ::unity::il2cpp_call!((::unity::module_base()+0x33ebce0usize)as*mut u8,i32;
3608(DebugUI_HistoryEnumField)__receiver)
3609 }
3610 }
3611 #[doc = "`GetHistoryValue(i32)` overload"]
3612 fn get_history_value(self, history_index: impl ::core::convert::Into<i32>) -> i32 {
3613 unsafe {
3614 let __receiver =
3615 <DebugUI_HistoryEnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3616 ::unity::il2cpp_call!((::unity::module_base()+0x33ebd00usize)as*mut u8,i32;
3617(DebugUI_HistoryEnumField)__receiver,(i32)::core::convert::Into::into(history_index))
3618 }
3619 }
3620 #[doc = "`.ctor()` overload"]
3621 fn ctor(self) -> () {
3622 unsafe {
3623 let __receiver =
3624 <DebugUI_HistoryEnumField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3625 ::unity::il2cpp_call!((::unity::module_base()+0x33ebd80usize)as*mut u8,();
3626(DebugUI_HistoryEnumField)__receiver)
3627 }
3628 }
3629}
3630
3631#[cfg(feature = "unity_engine-rendering-debugui")]
3632impl<__T: IDebugUI_HistoryEnumField> IDebugUI_HistoryEnumFieldMethods for __T {}
3633
3634#[cfg(feature = "unity_engine-rendering-debugui")]
3635impl DebugUI_HistoryEnumField {
3636 pub fn get_history_index_getter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3637 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3638 }
3639
3640 pub fn set_history_index_getter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3641 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3642 }
3643
3644 pub fn get_history_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3645 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
3646 }
3647
3648 pub fn get_history_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
3650 }
3651
3652 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
3654 }
3655}
3656
3657#[cfg(feature = "unity_engine-rendering-debugui")]
3658impl DebugUI_HistoryEnumField {
3659 #[doc = "`.ctor()` — no args"]
3660 pub fn new() -> Self {
3661 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3662 panic!(
3663 "{}
3664::{}
3665 failed to instantiate",
3666 ::core::stringify!(DebugUI_HistoryEnumField),
3667 ::core::stringify!(new),
3668 )
3669 });
3670 <Self as IDebugUI_HistoryEnumFieldMethods>::ctor(this);
3671 this
3672 }
3673}
3674
3675#[cfg(feature = "unity_engine-rendering-debugui")]
3676pub trait IDebugUI_ButtonMethods: IDebugUI_Button {
3677 #[doc = "`get_action()` overload"]
3678 fn get_action(self) -> crate::system::action::Action {
3679 unsafe {
3680 let __receiver = <DebugUI_Button as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3681 ::unity::il2cpp_call!((::unity::module_base()+0x33ea1b0usize)as*mut u8,crate::system::action::Action;
3682(DebugUI_Button)__receiver)
3683 }
3684 }
3685 #[doc = "`set_action(crate::system::action::Action)` overload"]
3686 fn set_action(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
3687 unsafe {
3688 let __receiver = <DebugUI_Button as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3689 ::unity::il2cpp_call!((::unity::module_base()+0x33ea1c0usize)as*mut u8,();
3690(DebugUI_Button)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
3691 }
3692 }
3693 #[doc = "`.ctor()` overload"]
3694 fn ctor(self) -> () {
3695 unsafe {
3696 let __receiver = <DebugUI_Button as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3697 ::unity::il2cpp_call!((::unity::module_base()+0x33ea1d0usize)as*mut u8,();
3698(DebugUI_Button)__receiver)
3699 }
3700 }
3701}
3702
3703#[cfg(feature = "unity_engine-rendering-debugui")]
3704impl<__T: IDebugUI_Button> IDebugUI_ButtonMethods for __T {}
3705
3706#[cfg(feature = "unity_engine-rendering-debugui")]
3707impl DebugUI_Button {
3708 pub fn get_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3709 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3710 }
3711
3712 pub fn set_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3713 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3714 }
3715
3716 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3717 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
3718 }
3719}
3720
3721#[cfg(feature = "unity_engine-rendering-debugui")]
3722impl DebugUI_Button {
3723 #[doc = "`.ctor()` — no args"]
3724 pub fn new() -> Self {
3725 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3726 panic!(
3727 "{}
3728::{}
3729 failed to instantiate",
3730 ::core::stringify!(DebugUI_Button),
3731 ::core::stringify!(new),
3732 )
3733 });
3734 <Self as IDebugUI_ButtonMethods>::ctor(this);
3735 this
3736 }
3737}
3738
3739#[cfg(feature = "unity_engine-rendering-debugui")]
3740pub trait IDebugUI_HBoxMethods: IDebugUI_HBox {
3741 #[doc = "`.ctor()` overload"]
3742 fn ctor(self) -> () {
3743 unsafe {
3744 let __receiver = <DebugUI_HBox as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3745 ::unity::il2cpp_call!((::unity::module_base()+0x33ebb40usize)as*mut u8,();
3746(DebugUI_HBox)__receiver)
3747 }
3748 }
3749}
3750
3751#[cfg(feature = "unity_engine-rendering-debugui")]
3752impl<__T: IDebugUI_HBox> IDebugUI_HBoxMethods for __T {}
3753
3754#[cfg(feature = "unity_engine-rendering-debugui")]
3755impl DebugUI_HBox {
3756 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3757 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3758 }
3759}
3760
3761#[cfg(feature = "unity_engine-rendering-debugui")]
3762impl DebugUI_HBox {
3763 #[doc = "`.ctor()` — no args"]
3764 pub fn new() -> Self {
3765 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3766 panic!(
3767 "{}
3768::{}
3769 failed to instantiate",
3770 ::core::stringify!(DebugUI_HBox),
3771 ::core::stringify!(new),
3772 )
3773 });
3774 <Self as IDebugUI_HBoxMethods>::ctor(this);
3775 this
3776 }
3777}
3778
3779#[cfg(feature = "unity_engine-rendering-debugui")]
3780#[doc(hidden)]
3781pub mod prelude {
3782 pub use super::{
3783 DebugUI, DebugUI_BitField, DebugUI_BoolField, DebugUI_Button, DebugUI_ColorField, DebugUI_Container, DebugUI_EnumField, DebugUI_Field_1,
3784 DebugUI_Flags, DebugUI_FloatField, DebugUI_Foldout, DebugUI_HBox, DebugUI_HistoryBoolField, DebugUI_HistoryEnumField, DebugUI_IContainer,
3785 DebugUI_IValueField, DebugUI_IntField, DebugUI_Panel, DebugUI_Table, DebugUI_Table_Row, DebugUI_UIntField, DebugUI_VBox, DebugUI_Value,
3786 DebugUI_Vector2Field, DebugUI_Vector3Field, DebugUI_Vector4Field, DebugUI_Widget, IDebugUI, IDebugUIMethods, IDebugUI_BitField,
3787 IDebugUI_BitFieldMethods, IDebugUI_BoolField, IDebugUI_BoolFieldMethods, IDebugUI_Button, IDebugUI_ButtonMethods, IDebugUI_ColorField,
3788 IDebugUI_ColorFieldMethods, IDebugUI_Container, IDebugUI_ContainerMethods, IDebugUI_EnumField, IDebugUI_EnumFieldMethods, IDebugUI_Field_1,
3789 IDebugUI_Field_1Methods, IDebugUI_FloatField, IDebugUI_FloatFieldMethods, IDebugUI_Foldout, IDebugUI_FoldoutMethods, IDebugUI_HBox,
3790 IDebugUI_HBoxMethods, IDebugUI_HistoryBoolField, IDebugUI_HistoryBoolFieldMethods, IDebugUI_HistoryEnumField,
3791 IDebugUI_HistoryEnumFieldMethods, IDebugUI_IContainer, IDebugUI_IContainerMethods, IDebugUI_IValueField, IDebugUI_IValueFieldMethods,
3792 IDebugUI_IntField, IDebugUI_IntFieldMethods, IDebugUI_Panel, IDebugUI_PanelMethods, IDebugUI_Table, IDebugUI_TableMethods,
3793 IDebugUI_Table_Row, IDebugUI_Table_RowMethods, IDebugUI_UIntField, IDebugUI_UIntFieldMethods, IDebugUI_VBox, IDebugUI_VBoxMethods,
3794 IDebugUI_Value, IDebugUI_ValueMethods, IDebugUI_Vector2Field, IDebugUI_Vector2FieldMethods, IDebugUI_Vector3Field,
3795 IDebugUI_Vector3FieldMethods, IDebugUI_Vector4Field, IDebugUI_Vector4FieldMethods, IDebugUI_Widget, IDebugUI_WidgetMethods,
3796 };
3797 #[cfg(feature = "system-object")]
3798 pub use crate::system::object::IObjectMethods;
3799 #[cfg(feature = "system-enum")]
3800 pub use crate::system::r#enum::IEnumMethods;
3801 #[cfg(feature = "system-valuetype")]
3802 pub use crate::system::valuetype::IValueTypeMethods;
3803 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
3804}