engage/generated/system/collections/generic/
ilist_1_interface.rs1#[cfg(feature = "system-collections-generic-ilist_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/ilist_1_interface/IList_1_Interface.md"))]
10 #[::unity::class(namespace = "System.Collections.Generic", name = "IList`1")]
11 pub struct IList_1_Interface<T0: ::unity::ClassIdentity> {}
12}
13
14#[cfg(feature = "system-collections-generic-ilist_1_interface-types")]
15pub use __types::*;
16
17#[cfg(feature = "system-collections-generic-ilist_1_interface")]
18#[::unity::methods]
19impl<T0: ::unity::ClassIdentity> IList_1_Interface<T0> {
20 #[doc = "`get_Item(i32)` overload"]
21 #[method(name = "get_Item", args = 1, abstract_dispatch)]
22 pub fn get_item(self, index: i32) -> T0;
23
24 #[doc = "`set_Item(i32, T0)` overload"]
25 #[method(name = "set_Item", args = 2, abstract_dispatch)]
26 pub fn set_item(self, index: i32, value: T0) -> ();
27
28 #[doc = "`IndexOf(T0)` overload"]
29 #[method(name = "IndexOf", args = 1, abstract_dispatch)]
30 pub fn index_of(self, item: T0) -> i32;
31
32 #[doc = "`Insert(i32, T0)` overload"]
33 #[method(name = "Insert", args = 2, abstract_dispatch)]
34 pub fn insert(self, index: i32, item: T0) -> ();
35
36 #[doc = "`RemoveAt(i32)` overload"]
37 #[method(name = "RemoveAt", args = 1, abstract_dispatch)]
38 pub fn remove_at(self, index: i32) -> ();
39}
40
41#[cfg(feature = "system-collections-generic-ilist_1_interface")]
42#[doc(hidden)]
43pub mod prelude {
44 pub use super::{IIList_1_Interface, IIList_1_InterfaceMethods, IList_1_Interface};
45}