engage/generated/system/collections/generic/
icomparer_1_interface.rs1#[cfg(feature = "system-collections-generic-icomparer_1_interface-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/icomparer_1_interface/IComparer_1_Interface.md"))]
10 #[::unity::class(namespace = "System.Collections.Generic", name = "IComparer`1")]
11 pub struct IComparer_1_Interface<T0: ::unity::ClassIdentity> {}
12}
13
14#[cfg(feature = "system-collections-generic-icomparer_1_interface-types")]
15pub use __types::*;
16
17#[cfg(feature = "system-collections-generic-icomparer_1_interface")]
18#[::unity::methods]
19impl<T0: ::unity::ClassIdentity> IComparer_1_Interface<T0> {
20 #[doc = "`Compare(T0, T0)` overload"]
21 #[method(name = "Compare", args = 2, abstract_dispatch)]
22 pub fn compare(self, x: T0, y: T0) -> i32;
23}
24
25#[cfg(feature = "system-collections-generic-icomparer_1_interface")]
26#[doc(hidden)]
27pub mod prelude {
28 pub use super::{IComparer_1_Interface, IIComparer_1_Interface, IIComparer_1_InterfaceMethods};
29}