engage/generated/system/collections/generic/
keyvaluepair.rs1#[cfg(feature = "system-collections-generic-keyvaluepair-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/system/collections/generic/keyvaluepair/KeyValuePair.md"))]
11 #[::unity::class(namespace = "System.Collections.Generic", name = "KeyValuePair")]
12 #[parent(crate::system::object::Object)]
13 pub struct KeyValuePair {}
14}
15
16#[cfg(feature = "system-collections-generic-keyvaluepair-types")]
17pub use __types::*;
18
19#[cfg(feature = "system-collections-generic-keyvaluepair")]
20impl KeyValuePair {
21 #[doc = "`PairToString(crate::system::object::Object, crate::system::object::Object)` overload"]
22 pub fn pair_to_string(
23 key: impl ::core::convert::Into<crate::system::object::Object>,
24 value: impl ::core::convert::Into<crate::system::object::Object>,
25 ) -> ::unity::Il2CppString {
26 unsafe {
27 ::unity::il2cpp_call!((::unity::module_base()+0x326bf40usize)as*mut u8, ::unity::Il2CppString;
28(crate::system::object::Object)::core::convert::Into::into(key),(crate::system::object::Object)::core::convert::Into::into(value))
29 }
30 }
31}
32
33#[cfg(feature = "system-collections-generic-keyvaluepair")]
34impl KeyValuePair {
35 pub fn pair_to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
36 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
37 }
38}
39
40#[cfg(feature = "system-collections-generic-keyvaluepair")]
41#[doc(hidden)]
42pub mod prelude {
43 pub use super::{IKeyValuePair, KeyValuePair};
44 pub use crate::system::object::IObject;
45 #[cfg(feature = "system-object")]
46 pub use crate::system::object::IObjectMethods;
47}