engage/generated/app/
structarraylist_1.rs1#[cfg(feature = "app-structarraylist_1-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 collections::generic::list_1::{IList_1, List_1},
10 object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/structarraylist_1/StructArrayList_1.md"))]
14 #[::unity::class(namespace = "App", name = "StructArrayList`1")]
15 #[parent(crate::system::collections::generic::list_1::List_1<crate::app::structdataarraylist_1::StructDataArrayList_1<T0> >)]
16 #[parent(crate::system::object::Object)]
17 pub struct StructArrayList_1<T0: ::unity::ClassIdentity> {}
18}
19
20#[cfg(feature = "app-structarraylist_1-types")]
21pub use __types::*;
22
23#[cfg(feature = "app-structarraylist_1")]
24#[::unity::methods]
25impl<T0: ::unity::ClassIdentity> StructArrayList_1<T0> {
26 #[doc = "`Build()` overload"]
27 #[method(name = "Build", args = 0)]
28 pub fn build(self) -> ();
29
30 #[doc = "`Completed()` overload"]
31 #[method(name = "Completed", args = 0)]
32 pub fn completed(self) -> ();
33
34 #[doc = "`CompletedEnd()` overload"]
35 #[method(name = "CompletedEnd", args = 0)]
36 pub fn completed_end(self) -> bool;
37
38 #[doc = "`Release()` overload"]
39 #[method(name = "Release", args = 0)]
40 pub fn release(self) -> ();
41
42 #[doc = "`.ctor()` overload"]
43 #[method(name = ".ctor", args = 0)]
44 pub fn ctor(self) -> ();
45}
46
47#[cfg(feature = "app-structarraylist_1")]
48impl<T0: ::unity::ClassIdentity> StructArrayList_1<T0> {
49 #[doc = "`.ctor()` — no args"]
50 pub fn new() -> Self {
51 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
52 panic!(
53 "{}
54::{}
55 failed to instantiate",
56 ::core::stringify!(StructArrayList_1),
57 ::core::stringify!(new),
58 )
59 });
60 <Self as IStructArrayList_1Methods<T0>>::ctor(this);
61 this
62 }
63}
64
65#[cfg(feature = "app-structarraylist_1")]
66#[doc(hidden)]
67pub mod prelude {
68 pub use super::{IStructArrayList_1, IStructArrayList_1Methods, StructArrayList_1};
69 #[cfg(feature = "system-collections-generic-list_1")]
70 pub use crate::system::collections::generic::list_1::IList_1Methods;
71 #[cfg(feature = "system-object")]
72 pub use crate::system::object::IObjectMethods;
73 pub use crate::system::{collections::generic::list_1::IList_1, object::IObject};
74}