Skip to main content

IArrayListMethods

Trait IArrayListMethods 

Source
pub trait IArrayListMethods: IArrayList {
Show 28 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, capacity: impl Into<i32>) { ... } fn ctor_3(self, c: impl Into<ICollection>) { ... } fn set_capacity(self, value: impl Into<i32>) { ... } fn get_count(self) -> i32 { ... } fn get_is_read_only(self) -> bool { ... } fn get_is_synchronized(self) -> bool { ... } fn get_sync_root(self) -> Object { ... } fn get_item(self, index: impl Into<i32>) -> Object { ... } fn set_item(self, index: impl Into<i32>, value: impl Into<Object>) { ... } fn add(self, value: impl Into<Object>) -> i32 { ... } fn add_range(self, c: impl Into<ICollection>) { ... } fn clear(self) { ... } fn clone(self) -> Object { ... } fn contains(self, item: impl Into<Object>) -> bool { ... } fn copy_to(self, array: impl Into<IlInstance>) { ... } fn copy_to_2( self, array: impl Into<IlInstance>, array_index: impl Into<i32>, ) { ... } fn copy_to_3( self, index: impl Into<i32>, array: impl Into<IlInstance>, array_index: impl Into<i32>, count: impl Into<i32>, ) { ... } fn ensure_capacity(self, min: impl Into<i32>) { ... } fn get_enumerator(self) -> IEnumerator { ... } fn index_of(self, value: impl Into<Object>) -> i32 { ... } fn insert(self, index: impl Into<i32>, value: impl Into<Object>) { ... } fn insert_range(self, index: impl Into<i32>, c: impl Into<ICollection>) { ... } fn remove(self, obj: 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§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, capacity: impl Into<i32>)

.ctor(i32) overload

Source

fn ctor_3(self, c: impl Into<ICollection>)

.ctor(crate::system::collections::icollection::ICollection) overload

Source

fn set_capacity(self, value: impl Into<i32>)

set_Capacity(i32) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn get_is_read_only(self) -> bool

get_IsReadOnly() overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

fn get_item(self, index: impl Into<i32>) -> Object

get_Item(i32) overload

Source

fn set_item(self, index: impl Into<i32>, value: impl Into<Object>)

set_Item(i32, crate::system::object::Object) overload

Source

fn add(self, value: impl Into<Object>) -> i32

Add(crate::system::object::Object) overload

Source

fn add_range(self, c: impl Into<ICollection>)

AddRange(crate::system::collections::icollection::ICollection) overload

Source

fn clear(self)

Clear() overload

Source

fn clone(self) -> Object

Clone() overload

Source

fn contains(self, item: impl Into<Object>) -> bool

Contains(crate::system::object::Object) overload

Source

fn copy_to(self, array: impl Into<IlInstance>)

CopyTo(::unity::IlInstance) overload

Source

fn copy_to_2(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)

CopyTo(::unity::IlInstance, i32) overload

Source

fn copy_to_3( 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

Source

fn ensure_capacity(self, min: impl Into<i32>)

EnsureCapacity(i32) overload

Source

fn get_enumerator(self) -> IEnumerator

GetEnumerator() overload

Source

fn index_of(self, value: impl Into<Object>) -> i32

IndexOf(crate::system::object::Object) overload

Source

fn insert(self, index: impl Into<i32>, value: impl Into<Object>)

Insert(i32, crate::system::object::Object) overload

Source

fn insert_range(self, index: impl Into<i32>, c: impl Into<ICollection>)

InsertRange(i32, crate::system::collections::icollection::ICollection) overload

Source

fn remove(self, obj: impl Into<Object>)

Remove(crate::system::object::Object) overload

Source

fn remove_at(self, index: impl Into<i32>)

RemoveAt(i32) overload

Source

fn remove_range(self, index: impl Into<i32>, count: impl Into<i32>)

RemoveRange(i32, i32) overload

Source

fn to_array(self) -> Array<Object>

ToArray() overload

Source

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§

Source§

impl<__T: IArrayList> IArrayListMethods for __T

Available on crate feature system-collections-arraylist only.