Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-collections-generic-arraysorthelper_1-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/arraysorthelper_1/ArraySortHelper_1.md"))]
11    #[::unity::class(namespace = "System.Collections.Generic", name = "ArraySortHelper`1")]
12    #[parent(crate::system::object::Object)]
13    pub struct ArraySortHelper_1<T0: ::unity::ClassIdentity> {}
14}
15
16#[cfg(feature = "system-collections-generic-arraysorthelper_1-types")]
17pub use __types::*;
18
19#[cfg(feature = "system-collections-generic-arraysorthelper_1")]
20#[::unity::methods]
21impl<T0: ::unity::ClassIdentity> ArraySortHelper_1<T0> {
22    #[doc = "`Sort(::unity::Array<T0>, i32, i32, crate::system::collections::generic::icomparer_1_interface::IComparer_1_Interface<T0>)` overload"]
23    #[method(name = "Sort", args = 4)]
24    pub fn sort(
25        keys: ::unity::Array<T0>,
26        index: i32,
27        length: i32,
28        comparer: crate::system::collections::generic::icomparer_1_interface::IComparer_1_Interface<T0>,
29    ) -> ();
30
31    #[doc = "`BinarySearch(::unity::Array<T0>, i32, i32, T0, crate::system::collections::generic::icomparer_1_interface::IComparer_1_Interface<T0>)` overload"]
32    #[method(name = "BinarySearch", args = 5)]
33    pub fn binary_search(
34        array: ::unity::Array<T0>,
35        index: i32,
36        length: i32,
37        value: T0,
38        comparer: crate::system::collections::generic::icomparer_1_interface::IComparer_1_Interface<T0>,
39    ) -> i32;
40
41    #[doc = "`Sort(::unity::Array<T0>, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
42    #[method(name = "Sort", args = 4)]
43    pub fn sort_2(keys: ::unity::Array<T0>, index: i32, length: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> ();
44
45    #[doc = "`InternalBinarySearch(::unity::Array<T0>, i32, i32, T0, crate::system::collections::generic::icomparer_1_interface::IComparer_1_Interface<T0>)` overload"]
46    #[method(name = "InternalBinarySearch", args = 5)]
47    pub fn internal_binary_search(
48        array: ::unity::Array<T0>,
49        index: i32,
50        length: i32,
51        value: T0,
52        comparer: crate::system::collections::generic::icomparer_1_interface::IComparer_1_Interface<T0>,
53    ) -> i32;
54
55    #[doc = "`SwapIfGreater(::unity::Array<T0>, crate::system::comparison_1::Comparison_1<T0>, i32, i32)` overload"]
56    #[method(name = "SwapIfGreater", args = 4)]
57    pub fn swap_if_greater(keys: ::unity::Array<T0>, comparer: crate::system::comparison_1::Comparison_1<T0>, a: i32, b: i32) -> ();
58
59    #[doc = "`Swap(::unity::Array<T0>, i32, i32)` overload"]
60    #[method(name = "Swap", args = 3)]
61    pub fn swap(a: ::unity::Array<T0>, i: i32, j: i32) -> ();
62
63    #[doc = "`IntrospectiveSort(::unity::Array<T0>, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
64    #[method(name = "IntrospectiveSort", args = 4)]
65    pub fn introspective_sort(keys: ::unity::Array<T0>, left: i32, length: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> ();
66
67    #[doc = "`IntroSort(::unity::Array<T0>, i32, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
68    #[method(name = "IntroSort", args = 5)]
69    pub fn intro_sort(keys: ::unity::Array<T0>, lo: i32, hi: i32, depth_limit: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> ();
70
71    #[doc = "`PickPivotAndPartition(::unity::Array<T0>, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
72    #[method(name = "PickPivotAndPartition", args = 4)]
73    pub fn pick_pivot_and_partition(keys: ::unity::Array<T0>, lo: i32, hi: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> i32;
74
75    #[doc = "`Heapsort(::unity::Array<T0>, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
76    #[method(name = "Heapsort", args = 4)]
77    pub fn heapsort(keys: ::unity::Array<T0>, lo: i32, hi: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> ();
78
79    #[doc = "`DownHeap(::unity::Array<T0>, i32, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
80    #[method(name = "DownHeap", args = 5)]
81    pub fn down_heap(keys: ::unity::Array<T0>, i: i32, n: i32, lo: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> ();
82
83    #[doc = "`InsertionSort(::unity::Array<T0>, i32, i32, crate::system::comparison_1::Comparison_1<T0>)` overload"]
84    #[method(name = "InsertionSort", args = 4)]
85    pub fn insertion_sort(keys: ::unity::Array<T0>, lo: i32, hi: i32, comparer: crate::system::comparison_1::Comparison_1<T0>) -> ();
86}
87
88#[cfg(feature = "system-collections-generic-arraysorthelper_1")]
89#[doc(hidden)]
90pub mod prelude {
91    pub use super::{ArraySortHelper_1, IArraySortHelper_1};
92    pub use crate::system::object::IObject;
93    #[cfg(feature = "system-object")]
94    pub use crate::system::object::IObjectMethods;
95}