pub trait IArrayList_ReadOnlyArrayListMethods: IArrayList_ReadOnlyArrayList {
Show 24 methods
// Provided methods
fn ctor(self, l: impl Into<ArrayList>) { ... }
fn get_count(self) -> i32 { ... }
fn get_is_read_only(self) -> bool { ... }
fn get_is_synchronized(self) -> bool { ... }
fn get_item(self, index: impl Into<i32>) -> Object { ... }
fn set_item(self, index: impl Into<i32>, value: impl Into<Object>) { ... }
fn get_sync_root(self) -> Object { ... }
fn add(self, obj: impl Into<Object>) -> i32 { ... }
fn add_range(self, c: impl Into<ICollection>) { ... }
fn set_capacity(self, value: impl Into<i32>) { ... }
fn clear(self) { ... }
fn clone(self) -> Object { ... }
fn contains(self, obj: impl Into<Object>) -> bool { ... }
fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>) { ... }
fn copy_to_2(
self,
index: impl Into<i32>,
array: impl Into<IlInstance>,
array_index: impl Into<i32>,
count: impl Into<i32>,
) { ... }
fn get_enumerator(self) -> IEnumerator { ... }
fn index_of(self, value: impl Into<Object>) -> i32 { ... }
fn insert(self, index: impl Into<i32>, obj: impl Into<Object>) { ... }
fn insert_range(self, index: impl Into<i32>, c: impl Into<ICollection>) { ... }
fn remove(self, value: impl Into<Object>) { ... }
fn remove_at(self, index: impl Into<i32>) { ... }
fn remove_range(self, index: impl Into<i32>, count: impl Into<i32>) { ... }
fn to_array(self) -> Array<Object> { ... }
fn to_array_2(self, type: impl Into<SystemType>) -> IlInstance { ... }
}Provided Methods§
Sourcefn ctor(self, l: impl Into<ArrayList>)
fn ctor(self, l: impl Into<ArrayList>)
.ctor(crate::system::collections::arraylist::ArrayList) overload
Sourcefn get_is_read_only(self) -> bool
fn get_is_read_only(self) -> bool
get_IsReadOnly() overload
Sourcefn get_is_synchronized(self) -> bool
fn get_is_synchronized(self) -> bool
get_IsSynchronized() overload
Sourcefn set_item(self, index: impl Into<i32>, value: impl Into<Object>)
fn set_item(self, index: impl Into<i32>, value: impl Into<Object>)
set_Item(i32, crate::system::object::Object) overload
Sourcefn get_sync_root(self) -> Object
fn get_sync_root(self) -> Object
get_SyncRoot() overload
Sourcefn add_range(self, c: impl Into<ICollection>)
fn add_range(self, c: impl Into<ICollection>)
AddRange(crate::system::collections::icollection::ICollection) overload
Sourcefn set_capacity(self, value: impl Into<i32>)
fn set_capacity(self, value: impl Into<i32>)
set_Capacity(i32) overload
Sourcefn contains(self, obj: impl Into<Object>) -> bool
fn contains(self, obj: impl Into<Object>) -> bool
Contains(crate::system::object::Object) overload
Sourcefn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>)
fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>)
CopyTo(::unity::IlInstance, i32) overload
Sourcefn copy_to_2(
self,
index: impl Into<i32>,
array: impl Into<IlInstance>,
array_index: impl Into<i32>,
count: impl Into<i32>,
)
fn copy_to_2( self, index: impl Into<i32>, array: impl Into<IlInstance>, array_index: impl Into<i32>, count: impl Into<i32>, )
CopyTo(i32, ::unity::IlInstance, i32, i32) overload
Sourcefn get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() overload
Sourcefn index_of(self, value: impl Into<Object>) -> i32
fn index_of(self, value: impl Into<Object>) -> i32
IndexOf(crate::system::object::Object) overload
Sourcefn insert(self, index: impl Into<i32>, obj: impl Into<Object>)
fn insert(self, index: impl Into<i32>, obj: impl Into<Object>)
Insert(i32, crate::system::object::Object) overload
Sourcefn insert_range(self, index: impl Into<i32>, c: impl Into<ICollection>)
fn insert_range(self, index: impl Into<i32>, c: impl Into<ICollection>)
InsertRange(i32, crate::system::collections::icollection::ICollection) overload
Sourcefn remove_range(self, index: impl Into<i32>, count: impl Into<i32>)
fn remove_range(self, index: impl Into<i32>, count: impl Into<i32>)
RemoveRange(i32, i32) overload
Sourcefn to_array_2(self, type: impl Into<SystemType>) -> IlInstance
fn to_array_2(self, type: impl Into<SystemType>) -> IlInstance
ToArray(::unity::SystemType) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IArrayList_ReadOnlyArrayList> IArrayList_ReadOnlyArrayListMethods for __T
system-collections-arraylist only.