Skip to main content

engage/generated/unity_engine/rendering/
reloadgroupattribute.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-reloadgroupattribute-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8
9    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/reloadgroupattribute/ReloadGroupAttribute.md"))]
10    #[::unity::class(namespace = "UnityEngine.Rendering", name = "ReloadGroupAttribute")]
11    pub struct ReloadGroupAttribute {}
12}
13
14#[cfg(feature = "unity_engine-rendering-reloadgroupattribute-types")]
15pub use __types::*;
16
17#[cfg(feature = "unity_engine-rendering-reloadgroupattribute")]
18pub trait IReloadGroupAttributeMethods: IReloadGroupAttribute {
19    #[doc = "`.ctor()` overload"]
20    fn ctor(self) -> () {
21        unsafe {
22            let __receiver = <ReloadGroupAttribute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
23            ::unity::il2cpp_call!((::unity::module_base()+0x30b0f30usize)as*mut u8,();
24(ReloadGroupAttribute)__receiver)
25        }
26    }
27}
28
29#[cfg(feature = "unity_engine-rendering-reloadgroupattribute")]
30impl<__T: IReloadGroupAttribute> IReloadGroupAttributeMethods for __T {}
31
32#[cfg(feature = "unity_engine-rendering-reloadgroupattribute")]
33impl ReloadGroupAttribute {
34    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
35        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
36    }
37}
38
39#[cfg(feature = "unity_engine-rendering-reloadgroupattribute")]
40impl ReloadGroupAttribute {
41    #[doc = "`.ctor()` — no args"]
42    pub fn new() -> Self {
43        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
44            panic!(
45                "{}
46::{}
47 failed to instantiate",
48                ::core::stringify!(ReloadGroupAttribute),
49                ::core::stringify!(new),
50            )
51        });
52        <Self as IReloadGroupAttributeMethods>::ctor(this);
53        this
54    }
55}
56
57#[cfg(feature = "unity_engine-rendering-reloadgroupattribute")]
58#[doc(hidden)]
59pub mod prelude {
60    pub use super::{IReloadGroupAttribute, IReloadGroupAttributeMethods, ReloadGroupAttribute};
61}