Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-collections-generic-icollection_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/icollection_1/ICollection_1.md"))]
10    #[::unity::class(namespace = "System.Collections.Generic", name = "ICollection`1")]
11    pub struct ICollection_1<T0: ::unity::ClassIdentity> {}
12}
13
14#[cfg(feature = "system-collections-generic-icollection_1-types")]
15pub use __types::*;
16
17#[cfg(feature = "system-collections-generic-icollection_1")]
18#[::unity::methods]
19impl<T0: ::unity::ClassIdentity> ICollection_1<T0> {
20    #[doc = "`get_Count()` overload"]
21    #[method(name = "get_Count", args = 0, abstract_dispatch)]
22    pub fn get_count(self) -> i32;
23
24    #[doc = "`get_IsReadOnly()` overload"]
25    #[method(name = "get_IsReadOnly", args = 0, abstract_dispatch)]
26    pub fn get_is_read_only(self) -> bool;
27
28    #[doc = "`Add(T0)` overload"]
29    #[method(name = "Add", args = 1, abstract_dispatch)]
30    pub fn add(self, item: T0) -> ();
31
32    #[doc = "`Clear()` overload"]
33    #[method(name = "Clear", args = 0, abstract_dispatch)]
34    pub fn clear(self) -> ();
35
36    #[doc = "`Contains(T0)` overload"]
37    #[method(name = "Contains", args = 1, abstract_dispatch)]
38    pub fn contains(self, item: T0) -> bool;
39
40    #[doc = "`CopyTo(::unity::Array<T0>, i32)` overload"]
41    #[method(name = "CopyTo", args = 2, abstract_dispatch)]
42    pub fn copy_to(self, array: ::unity::Array<T0>, array_index: i32) -> ();
43
44    #[doc = "`Remove(T0)` overload"]
45    #[method(name = "Remove", args = 1, abstract_dispatch)]
46    pub fn remove(self, item: T0) -> bool;
47}
48
49#[cfg(feature = "system-collections-generic-icollection_1")]
50#[doc(hidden)]
51pub mod prelude {
52    pub use super::{ICollection_1, IICollection_1, IICollection_1Methods};
53}