engage/generated/tm_pro/
tmp_textprocessingstack_1.rs1#[cfg(feature = "tm_pro-tmp_textprocessingstack_1-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/tm_pro/tmp_textprocessingstack_1/TMP_TextProcessingStack_1.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct TMP_TextProcessingStack_1<T0> {
17 pub _phantom: ::core::marker::PhantomData<(T0,)>,
18 }
19 impl<T0: ::unity::ClassIdentity> ::unity::ClassIdentity for TMP_TextProcessingStack_1<T0> {
20 const NAME: &'static str = "TMP_TextProcessingStack`1";
21 const NAMESPACE: &'static str = "TMPro";
22
23 fn class() -> ::unity::Class {
24 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
25 *CACHE.get_or_init(|| {
26 ::unity::Class::lookup(Self::NAMESPACE, Self::NAME)
27 .make_generic(&[<T0 as ::unity::ClassIdentity>::class()])
28 .expect("generic instantiation")
29 })
30 }
31 }
32 impl<T0: ::unity::ClassIdentity> ::unity::IlType for TMP_TextProcessingStack_1<T0> {
33 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35 }
36 }
37}
38
39#[cfg(feature = "tm_pro-tmp_textprocessingstack_1-types")]
40pub use __types::*;
41
42#[cfg(feature = "tm_pro-tmp_textprocessingstack_1")]
43#[::unity::methods(value)]
44impl<T0: ::unity::ClassIdentity> TMP_TextProcessingStack_1<T0> {
45 #[doc = "`.ctor(::unity::Array<T0>)` overload"]
46 #[method(name = ".ctor", args = 1)]
47 pub fn ctor(self, stack: ::unity::Array<T0>) -> ();
48
49 #[doc = "`.ctor(i32)` overload"]
50 #[method(name = ".ctor", args = 1)]
51 pub fn ctor_2(self, capacity: i32) -> ();
52
53 #[doc = "`.ctor(i32, i32)` overload"]
54 #[method(name = ".ctor", args = 2)]
55 pub fn ctor_3(self, capacity: i32, rollover_size: i32) -> ();
56
57 #[doc = "`get_Count()` overload"]
58 #[method(name = "get_Count", args = 0)]
59 pub fn get_count(self) -> i32;
60
61 #[doc = "`get_current()` overload"]
62 #[method(name = "get_current", args = 0)]
63 pub fn get_current(self) -> T0;
64
65 #[doc = "`get_rolloverSize()` overload"]
66 #[method(name = "get_rolloverSize", args = 0)]
67 pub fn get_rollover_size(self) -> i32;
68
69 #[doc = "`set_rolloverSize(i32)` overload"]
70 #[method(name = "set_rolloverSize", args = 1)]
71 pub fn set_rollover_size(self, value: i32) -> ();
72
73 #[doc = "`SetDefault(::unity::Array<crate::tm_pro::tmp_textprocessingstack_1::TMP_TextProcessingStack_1<T0>>, T0)` overload"]
74 #[method(name = "SetDefault", args = 2)]
75 pub fn set_default(stack: ::unity::Array<crate::tm_pro::tmp_textprocessingstack_1::TMP_TextProcessingStack_1<T0>>, item: T0) -> ();
76
77 #[doc = "`Clear()` overload"]
78 #[method(name = "Clear", args = 0)]
79 pub fn clear(self) -> ();
80
81 #[doc = "`SetDefault(T0)` overload"]
82 #[method(name = "SetDefault", args = 1)]
83 pub fn set_default_2(self, item: T0) -> ();
84
85 #[doc = "`Add(T0)` overload"]
86 #[method(name = "Add", args = 1)]
87 pub fn add(self, item: T0) -> ();
88
89 #[doc = "`Remove()` overload"]
90 #[method(name = "Remove", args = 0)]
91 pub fn remove(self) -> T0;
92
93 #[doc = "`Push(T0)` overload"]
94 #[method(name = "Push", args = 1)]
95 pub fn push(self, item: T0) -> ();
96
97 #[doc = "`Pop()` overload"]
98 #[method(name = "Pop", args = 0)]
99 pub fn pop(self) -> T0;
100
101 #[doc = "`Peek()` overload"]
102 #[method(name = "Peek", args = 0)]
103 pub fn peek(self) -> T0;
104
105 #[doc = "`CurrentItem()` overload"]
106 #[method(name = "CurrentItem", args = 0)]
107 pub fn current_item(self) -> T0;
108
109 #[doc = "`PreviousItem()` overload"]
110 #[method(name = "PreviousItem", args = 0)]
111 pub fn previous_item(self) -> T0;
112}
113
114#[cfg(feature = "tm_pro-tmp_textprocessingstack_1")]
115#[doc(hidden)]
116pub mod prelude {
117 pub use super::TMP_TextProcessingStack_1;
118 #[cfg(feature = "system-object")]
119 pub use crate::system::object::IObjectMethods;
120 #[cfg(feature = "system-valuetype")]
121 pub use crate::system::valuetype::IValueTypeMethods;
122 pub use crate::system::{object::IObject, valuetype::IValueType};
123}