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