Skip to main content

engage/generated/unity_engine/rendering/
dictionarypool_2.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-dictionarypool_2-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/dictionarypool_2/DictionaryPool_2.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "DictionaryPool`2")]
12    #[parent(crate::system::object::Object)]
13    pub struct DictionaryPool_2<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> {
14        #[static_field]
15        #[rename(name = "s_Pool")]
16        pub s_pool:
17            crate::unity_engine::rendering::objectpool_1_2::ObjectPool_1_2<crate::system::collections::generic::dictionary_2::Dictionary_2<T0, T1>>,
18    }
19}
20
21#[cfg(feature = "unity_engine-rendering-dictionarypool_2-types")]
22pub use __types::*;
23
24#[cfg(feature = "unity_engine-rendering-dictionarypool_2")]
25#[::unity::methods]
26impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> DictionaryPool_2<T0, T1> {
27    #[doc = "`Get()` overload"]
28    #[method(name = "Get", args = 0)]
29    pub fn get() -> crate::system::collections::generic::dictionary_2::Dictionary_2<T0, T1>;
30
31    #[doc = "`Get(*mutcrate::system::collections::generic::dictionary_2::Dictionary_2<T0,T1>)` overload"]
32    #[method(name = "Get", args = 1)]
33    pub fn get_2(
34        value: *mut crate::system::collections::generic::dictionary_2::Dictionary_2<T0, T1>,
35    ) -> crate::unity_engine::rendering::objectpool_1_2::ObjectPool_1_PooledObject<
36        crate::system::collections::generic::dictionary_2::Dictionary_2<T0, T1>,
37    >;
38
39    #[doc = "`Release(crate::system::collections::generic::dictionary_2::Dictionary_2<T0,T1>)` overload"]
40    #[method(name = "Release", args = 1)]
41    pub fn release(to_release: crate::system::collections::generic::dictionary_2::Dictionary_2<T0, T1>) -> ();
42
43    #[doc = "`.cctor()` overload"]
44    #[method(name = ".cctor", args = 0)]
45    pub fn cctor() -> ();
46}
47
48#[cfg(feature = "unity_engine-rendering-dictionarypool_2")]
49#[doc(hidden)]
50pub mod prelude {
51    pub use super::{DictionaryPool_2, IDictionaryPool_2};
52    pub use crate::system::object::IObject;
53    #[cfg(feature = "system-object")]
54    pub use crate::system::object::IObjectMethods;
55}