Skip to main content

engage/generated/moon_sharp/interpreter/interop/
customconverterscollection.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/interop/customconverterscollection/CustomConvertersCollection.md"))]
11    #[::unity::class(namespace = "MoonSharp.Interpreter.Interop", name = "CustomConvertersCollection")]
12    #[parent(crate::system::object::Object)]
13    pub struct CustomConvertersCollection {
14        #[offset(16)]
15        #[rename(name = "m_Script2Clr")]
16        pub m_script2_clr: ::unity::Array<
17            crate::system::collections::generic::dictionary_2::Dictionary_2<
18                ::unity::SystemType,
19                crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue, crate::system::object::Object>,
20            >,
21        >,
22        #[offset(24)]
23        #[rename(name = "m_Clr2Script")]
24        pub m_clr2_script: crate::system::collections::generic::dictionary_2::Dictionary_2<
25            ::unity::SystemType,
26            crate::system::func_3::Func_3<
27                crate::moon_sharp::interpreter::script::Script,
28                crate::system::object::Object,
29                crate::moon_sharp::interpreter::dynvalue::DynValue,
30            >,
31        >,
32    }
33}
34
35#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection-types")]
36pub use __types::*;
37
38#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection")]
39#[doc(hidden)]
40#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
41mod __CustomConvertersCollection_unity_raw {
42    use super::*;
43    #[doc(hidden)]
44    #[allow(non_snake_case)]
45    pub mod __lookup_ctor {
46        use super::*;
47        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
48            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
49            ::unity::lookup::method_info_on_class_with_signature(
50                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
51                ".ctor",
52                0,
53                param_types,
54                false,
55            )
56        });
57        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
58            match &*METHOD {
59                ::core::result::Result::Ok(mi) => *mi,
60                ::core::result::Result::Err(e) => {
61                    panic!(
62                        "method lookup failed: {}
63::{}
64: {}
65",
66                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
67                        ".ctor",
68                        e
69                    )
70                },
71            }
72        }
73    }
74    #[doc(hidden)]
75    #[allow(non_snake_case)]
76    pub mod __lookup_set_script_to_clr_custom_conversion {
77        use super::*;
78        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
79            let param_types: &[& 'static::unity::il2cpp::Il2CppType]= &[<crate::moon_sharp::interpreter::datatype::DataType as::unity::IlType> ::il_type(), < ::unity::SystemType as::unity::IlType> ::il_type(), <crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue,crate::system::object::Object>as::unity::IlType> ::il_type()];
80            ::unity::lookup::method_info_on_class_with_signature(
81                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
82                "SetScriptToClrCustomConversion",
83                3,
84                param_types,
85                false,
86            )
87        });
88        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
89            match &*METHOD {
90                ::core::result::Result::Ok(mi) => *mi,
91                ::core::result::Result::Err(e) => {
92                    panic!(
93                        "method lookup failed: {}
94::{}
95: {}
96",
97                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
98                        "SetScriptToClrCustomConversion",
99                        e
100                    )
101                },
102            }
103        }
104    }
105    #[doc(hidden)]
106    #[allow(non_snake_case)]
107    pub mod __lookup_get_script_to_clr_custom_conversion {
108        use super::*;
109        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
110            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
111                <crate::moon_sharp::interpreter::datatype::DataType as ::unity::IlType>::il_type(),
112                <::unity::SystemType as ::unity::IlType>::il_type(),
113            ];
114            ::unity::lookup::method_info_on_class_with_signature(
115                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
116                "GetScriptToClrCustomConversion",
117                2,
118                param_types,
119                false,
120            )
121        });
122        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
123            match &*METHOD {
124                ::core::result::Result::Ok(mi) => *mi,
125                ::core::result::Result::Err(e) => {
126                    panic!(
127                        "method lookup failed: {}
128::{}
129: {}
130",
131                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
132                        "GetScriptToClrCustomConversion",
133                        e
134                    )
135                },
136            }
137        }
138    }
139    #[doc(hidden)]
140    #[allow(non_snake_case)]
141    pub mod __lookup_set_clr_to_script_custom_conversion {
142        use super::*;
143        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
144            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
145                <::unity::SystemType as ::unity::IlType>::il_type(),
146                <crate::system::func_3::Func_3<
147                    crate::moon_sharp::interpreter::script::Script,
148                    crate::system::object::Object,
149                    crate::moon_sharp::interpreter::dynvalue::DynValue,
150                > as ::unity::IlType>::il_type(),
151            ];
152            ::unity::lookup::method_info_on_class_with_signature(
153                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
154                "SetClrToScriptCustomConversion",
155                2,
156                param_types,
157                false,
158            )
159        });
160        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161            match &*METHOD {
162                ::core::result::Result::Ok(mi) => *mi,
163                ::core::result::Result::Err(e) => {
164                    panic!(
165                        "method lookup failed: {}
166::{}
167: {}
168",
169                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
170                        "SetClrToScriptCustomConversion",
171                        e
172                    )
173                },
174            }
175        }
176    }
177    #[doc(hidden)]
178    #[allow(non_snake_case)]
179    pub mod __lookup_get_clr_to_script_custom_conversion {
180        use super::*;
181        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
182            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
183            ::unity::lookup::method_info_on_class_with_signature(
184                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
185                "GetClrToScriptCustomConversion",
186                1,
187                param_types,
188                false,
189            )
190        });
191        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192            match &*METHOD {
193                ::core::result::Result::Ok(mi) => *mi,
194                ::core::result::Result::Err(e) => {
195                    panic!(
196                        "method lookup failed: {}
197::{}
198: {}
199",
200                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
201                        "GetClrToScriptCustomConversion",
202                        e
203                    )
204                },
205            }
206        }
207    }
208    #[doc(hidden)]
209    #[allow(non_snake_case)]
210    pub mod __lookup_set_clr_to_script_custom_conversion_3 {
211        use super::*;
212        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
213            let param_types: &[& 'static::unity::il2cpp::Il2CppType]= &[< ::unity::SystemType as::unity::IlType> ::il_type(), <crate::system::func_2::Func_2<crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>as::unity::IlType> ::il_type()];
214            ::unity::lookup::method_info_on_class_with_signature(
215                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
216                "SetClrToScriptCustomConversion",
217                2,
218                param_types,
219                false,
220            )
221        });
222        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223            match &*METHOD {
224                ::core::result::Result::Ok(mi) => *mi,
225                ::core::result::Result::Err(e) => {
226                    panic!(
227                        "method lookup failed: {}
228::{}
229: {}
230",
231                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
232                        "SetClrToScriptCustomConversion",
233                        e
234                    )
235                },
236            }
237        }
238    }
239    #[doc(hidden)]
240    #[allow(non_snake_case)]
241    pub mod __lookup_clear {
242        use super::*;
243        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
244            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
245            ::unity::lookup::method_info_on_class_with_signature(
246                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
247                "Clear",
248                0,
249                param_types,
250                false,
251            )
252        });
253        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254            match &*METHOD {
255                ::core::result::Result::Ok(mi) => *mi,
256                ::core::result::Result::Err(e) => {
257                    panic!(
258                        "method lookup failed: {}
259::{}
260: {}
261",
262                        <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
263                        "Clear",
264                        e
265                    )
266                },
267            }
268        }
269    }
270}
271
272#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection")]
273pub trait ICustomConvertersCollectionMethods: ICustomConvertersCollection {
274    #[doc = "`.ctor()` overload"]
275    fn ctor(self) -> () {
276        unsafe {
277            let __receiver =
278                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
280(CustomConvertersCollection)__receiver)
281        }
282    }
283    #[doc = "`SetScriptToClrCustomConversion(crate::moon_sharp::interpreter::datatype::DataType, ::unity::SystemType, crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue,crate::system::object::Object>)` overload"]
284    fn set_script_to_clr_custom_conversion(
285        self,
286        script_data_type: impl ::core::convert::Into<crate::moon_sharp::interpreter::datatype::DataType>,
287        clr_data_type: impl ::core::convert::Into<::unity::SystemType>,
288        converter: impl ::core::convert::Into<
289            crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue, crate::system::object::Object>,
290        >,
291    ) -> () {
292        unsafe {
293            let __receiver =
294                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_set_script_to_clr_custom_conversion::get_method_info().method_ptr,();
296(CustomConvertersCollection)__receiver,(crate::moon_sharp::interpreter::datatype::DataType)::core::convert::Into::into(script_data_type),(::unity::SystemType)::core::convert::Into::into(clr_data_type),(crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue,crate::system::object::Object>)::core::convert::Into::into(converter))
297        }
298    }
299    #[doc = "`GetScriptToClrCustomConversion(crate::moon_sharp::interpreter::datatype::DataType, ::unity::SystemType)` overload"]
300    fn get_script_to_clr_custom_conversion(
301        self,
302        script_data_type: impl ::core::convert::Into<crate::moon_sharp::interpreter::datatype::DataType>,
303        clr_data_type: impl ::core::convert::Into<::unity::SystemType>,
304    ) -> crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue, crate::system::object::Object> {
305        unsafe {
306            let __receiver =
307                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_get_script_to_clr_custom_conversion::get_method_info().method_ptr,crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue,crate::system::object::Object> ;
309(CustomConvertersCollection)__receiver,(crate::moon_sharp::interpreter::datatype::DataType)::core::convert::Into::into(script_data_type),(::unity::SystemType)::core::convert::Into::into(clr_data_type))
310        }
311    }
312    #[doc = "`SetClrToScriptCustomConversion(::unity::SystemType, crate::system::func_3::Func_3<crate::moon_sharp::interpreter::script::Script,crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
313    fn set_clr_to_script_custom_conversion(
314        self,
315        clr_data_type: impl ::core::convert::Into<::unity::SystemType>,
316        converter: impl ::core::convert::Into<
317            crate::system::func_3::Func_3<
318                crate::moon_sharp::interpreter::script::Script,
319                crate::system::object::Object,
320                crate::moon_sharp::interpreter::dynvalue::DynValue,
321            >,
322        >,
323    ) -> () {
324        unsafe {
325            let __receiver =
326                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_set_clr_to_script_custom_conversion::get_method_info().method_ptr,();
328(CustomConvertersCollection)__receiver,(::unity::SystemType)::core::convert::Into::into(clr_data_type),(crate::system::func_3::Func_3<crate::moon_sharp::interpreter::script::Script,crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(converter))
329        }
330    }
331    fn set_clr_to_script_custom_conversion_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
332        self,
333        converter: impl ::core::convert::Into<
334            crate::system::func_3::Func_3<crate::moon_sharp::interpreter::script::Script, M0, crate::moon_sharp::interpreter::dynvalue::DynValue>,
335        >,
336    ) -> () {
337        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
338            ::unity::lookup::method_info_on_class(
339                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
340                "SetClrToScriptCustomConversion",
341                1,
342            )
343        });
344        #[allow(clippy::type_complexity)]
345        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
346            ::std::sync::OnceLock::new();
347        let _ = false;
348        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
349            ::core::result::Result::Ok(mi) => *mi,
350            ::core::result::Result::Err(e) => {
351                panic!(
352                    "method lookup failed: {}
353::{}
354: {}
355",
356                    <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
357                    "SetClrToScriptCustomConversion",
358                    e
359                )
360            },
361        };
362        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
363        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
364        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
365            let mut __guard = __cache.lock().unwrap();
366            *__guard
367                .entry(__key)
368                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
369        };
370        unsafe {
371            let __receiver =
372                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
373            let __f: extern "C" fn(
374                CustomConvertersCollection,
375                crate::system::func_3::Func_3<crate::moon_sharp::interpreter::script::Script, M0, crate::moon_sharp::interpreter::dynvalue::DynValue>,
376                ::unity::OptionalMethod,
377            ) -> () = ::core::mem::transmute(__inflated.method_ptr);
378            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
379            __f(
380                __receiver,
381                ::core::convert::Into::into(converter),
382                ::core::option::Option::Some(__mi_opaque),
383            )
384        }
385    }
386    #[doc = "`GetClrToScriptCustomConversion(::unity::SystemType)` overload"]
387    fn get_clr_to_script_custom_conversion(
388        self,
389        clr_data_type: impl ::core::convert::Into<::unity::SystemType>,
390    ) -> crate::system::func_3::Func_3<
391        crate::moon_sharp::interpreter::script::Script,
392        crate::system::object::Object,
393        crate::moon_sharp::interpreter::dynvalue::DynValue,
394    > {
395        unsafe {
396            let __receiver =
397                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_get_clr_to_script_custom_conversion::get_method_info().method_ptr,crate::system::func_3::Func_3<crate::moon_sharp::interpreter::script::Script,crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue> ;
399(CustomConvertersCollection)__receiver,(::unity::SystemType)::core::convert::Into::into(clr_data_type))
400        }
401    }
402    #[doc = "`SetClrToScriptCustomConversion(::unity::SystemType, crate::system::func_2::Func_2<crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
403    fn set_clr_to_script_custom_conversion_3(
404        self,
405        clr_data_type: impl ::core::convert::Into<::unity::SystemType>,
406        converter: impl ::core::convert::Into<
407            crate::system::func_2::Func_2<crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue>,
408        >,
409    ) -> () {
410        unsafe {
411            let __receiver =
412                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
413            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_set_clr_to_script_custom_conversion_3::get_method_info().method_ptr,();
414(CustomConvertersCollection)__receiver,(::unity::SystemType)::core::convert::Into::into(clr_data_type),(crate::system::func_2::Func_2<crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(converter))
415        }
416    }
417    fn set_clr_to_script_custom_conversion_4<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
418        self,
419        converter: impl ::core::convert::Into<crate::system::func_2::Func_2<M0, crate::moon_sharp::interpreter::dynvalue::DynValue>>,
420    ) -> () {
421        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
422            ::unity::lookup::method_info_on_class(
423                <CustomConvertersCollection as ::unity::ClassIdentity>::class(),
424                "SetClrToScriptCustomConversion",
425                1,
426            )
427        });
428        #[allow(clippy::type_complexity)]
429        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
430            ::std::sync::OnceLock::new();
431        let _ = false;
432        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
433            ::core::result::Result::Ok(mi) => *mi,
434            ::core::result::Result::Err(e) => {
435                panic!(
436                    "method lookup failed: {}
437::{}
438: {}
439",
440                    <CustomConvertersCollection as ::unity::ClassIdentity>::NAME,
441                    "SetClrToScriptCustomConversion",
442                    e
443                )
444            },
445        };
446        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
447        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
448        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
449            let mut __guard = __cache.lock().unwrap();
450            *__guard
451                .entry(__key)
452                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
453        };
454        unsafe {
455            let __receiver =
456                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457            let __f: extern "C" fn(
458                CustomConvertersCollection,
459                crate::system::func_2::Func_2<M0, crate::moon_sharp::interpreter::dynvalue::DynValue>,
460                ::unity::OptionalMethod,
461            ) -> () = ::core::mem::transmute(__inflated.method_ptr);
462            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
463            __f(
464                __receiver,
465                ::core::convert::Into::into(converter),
466                ::core::option::Option::Some(__mi_opaque),
467            )
468        }
469    }
470    #[doc = "`Clear()` overload"]
471    fn clear(self) -> () {
472        unsafe {
473            let __receiver =
474                <CustomConvertersCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
475            ::unity::il2cpp_call!(__CustomConvertersCollection_unity_raw::__lookup_clear::get_method_info().method_ptr,();
476(CustomConvertersCollection)__receiver)
477        }
478    }
479}
480
481#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection")]
482impl<__T: ICustomConvertersCollection> ICustomConvertersCollectionMethods for __T {}
483
484#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection")]
485impl CustomConvertersCollection {
486    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
488    }
489
490    pub fn set_script_to_clr_custom_conversion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
492    }
493
494    pub fn get_script_to_clr_custom_conversion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
496    }
497
498    pub fn set_clr_to_script_custom_conversion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
500    }
501
502    pub fn get_clr_to_script_custom_conversion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
504    }
505
506    pub fn set_clr_to_script_custom_conversion_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
508    }
509
510    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
512    }
513}
514
515#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection")]
516impl CustomConvertersCollection {
517    #[doc = "`.ctor()` — no args"]
518    pub fn new() -> Self {
519        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
520            panic!(
521                "{}
522::{}
523 failed to instantiate",
524                ::core::stringify!(CustomConvertersCollection),
525                ::core::stringify!(new),
526            )
527        });
528        <Self as ICustomConvertersCollectionMethods>::ctor(this);
529        this
530    }
531}
532
533#[cfg(feature = "moon_sharp-interpreter-interop-customconverterscollection")]
534#[doc(hidden)]
535pub mod prelude {
536    pub use super::{CustomConvertersCollection, ICustomConvertersCollection, ICustomConvertersCollectionMethods};
537    pub use crate::system::object::IObject;
538    #[cfg(feature = "system-object")]
539    pub use crate::system::object::IObjectMethods;
540}