Skip to main content

engage/generated/unity_engine/resource_management/resource_providers/
providehandle.rs

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