engage/generated/unity_engine/bindings/
unmarshalledattribute.rs1#[cfg(feature = "unity_engine-bindings-unmarshalledattribute-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/bindings/unmarshalledattribute/UnmarshalledAttribute.md"))]
10 #[::unity::class(namespace = "UnityEngine.Bindings", name = "UnmarshalledAttribute")]
11 pub struct UnmarshalledAttribute {}
12}
13
14#[cfg(feature = "unity_engine-bindings-unmarshalledattribute-types")]
15pub use __types::*;
16
17#[cfg(feature = "unity_engine-bindings-unmarshalledattribute")]
18pub trait IUnmarshalledAttributeMethods: IUnmarshalledAttribute {
19 #[doc = "`.ctor()` overload"]
20 fn ctor(self) -> () {
21 unsafe {
22 let __receiver = <UnmarshalledAttribute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
23 ::unity::il2cpp_call!((::unity::module_base()+0x3f38720usize)as*mut u8,();
24(UnmarshalledAttribute)__receiver)
25 }
26 }
27}
28
29#[cfg(feature = "unity_engine-bindings-unmarshalledattribute")]
30impl<__T: IUnmarshalledAttribute> IUnmarshalledAttributeMethods for __T {}
31
32#[cfg(feature = "unity_engine-bindings-unmarshalledattribute")]
33impl UnmarshalledAttribute {
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-bindings-unmarshalledattribute")]
40impl UnmarshalledAttribute {
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!(UnmarshalledAttribute),
49 ::core::stringify!(new),
50 )
51 });
52 <Self as IUnmarshalledAttributeMethods>::ctor(this);
53 this
54 }
55}
56
57#[cfg(feature = "unity_engine-bindings-unmarshalledattribute")]
58#[doc(hidden)]
59pub mod prelude {
60 pub use super::{IUnmarshalledAttribute, IUnmarshalledAttributeMethods, UnmarshalledAttribute};
61}