Skip to main content

engage/generated/system/collections/generic/
nullablecomparer_1.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-collections-generic-nullablecomparer_1-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/system/collections/generic/nullablecomparer_1/NullableComparer_1.md"))]
10    #[::unity::class(namespace = "System.Collections.Generic", name = "NullableComparer`1")]
11    pub struct NullableComparer_1<T0: ::unity::ClassIdentity> {}
12}
13
14#[cfg(feature = "system-collections-generic-nullablecomparer_1-types")]
15pub use __types::*;
16
17#[cfg(feature = "system-collections-generic-nullablecomparer_1")]
18#[::unity::methods]
19impl<T0: ::unity::ClassIdentity> NullableComparer_1<T0> {
20    #[doc = "`Equals(crate::system::object::Object)` overload"]
21    #[method(name = "Equals", args = 1)]
22    pub fn equals(self, obj: crate::system::object::Object) -> bool;
23
24    #[doc = "`GetHashCode()` overload"]
25    #[method(name = "GetHashCode", args = 0)]
26    pub fn get_hash_code(self) -> i32;
27
28    #[doc = "`.ctor()` overload"]
29    #[method(name = ".ctor", args = 0)]
30    pub fn ctor(self) -> ();
31}
32
33#[cfg(feature = "system-collections-generic-nullablecomparer_1")]
34impl<T0: ::unity::ClassIdentity> NullableComparer_1<T0> {
35    #[doc = "`.ctor()` — no args"]
36    pub fn new() -> Self {
37        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
38            panic!(
39                "{}
40::{}
41 failed to instantiate",
42                ::core::stringify!(NullableComparer_1),
43                ::core::stringify!(new),
44            )
45        });
46        <Self as INullableComparer_1Methods<T0>>::ctor(this);
47        this
48    }
49}
50
51#[cfg(feature = "system-collections-generic-nullablecomparer_1")]
52#[doc(hidden)]
53pub mod prelude {
54    pub use super::{INullableComparer_1, INullableComparer_1Methods, NullableComparer_1};
55}