Skip to main content

ISortedListMethods

Trait ISortedListMethods 

Source
pub trait ISortedListMethods: ISortedList {
Show 34 methods // Provided methods fn ctor(self) { ... } fn init(self) { ... } fn ctor_2(self, initial_capacity: impl Into<i32>) { ... } fn ctor_3(self, comparer: impl Into<IComparer_Interface>) { ... } fn ctor_4( self, comparer: impl Into<IComparer_Interface>, capacity: impl Into<i32>, ) { ... } fn add(self, key: impl Into<Object>, value: impl Into<Object>) { ... } fn get_capacity(self) -> i32 { ... } fn set_capacity(self, value: impl Into<i32>) { ... } fn get_count(self) -> i32 { ... } fn get_keys(self) -> ICollection { ... } fn get_values(self) -> ICollection { ... } fn get_is_read_only(self) -> bool { ... } fn get_is_fixed_size(self) -> bool { ... } fn get_is_synchronized(self) -> bool { ... } fn get_sync_root(self) -> Object { ... } fn clone(self) -> Object { ... } fn contains(self, key: impl Into<Object>) -> bool { ... } fn contains_key(self, key: impl Into<Object>) -> bool { ... } fn contains_value(self, value: impl Into<Object>) -> bool { ... } fn copy_to(self, array: impl Into<IlInstance>, array_index: impl Into<i32>) { ... } fn ensure_capacity(self, min: impl Into<i32>) { ... } fn get_by_index(self, index: impl Into<i32>) -> Object { ... } fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator { ... } fn get_enumerator(self) -> IDictionaryEnumerator { ... } fn get_key(self, index: impl Into<i32>) -> Object { ... } fn get_key_list(self) -> IList { ... } fn get_value_list(self) -> IList { ... } fn get_item(self, key: impl Into<Object>) -> Object { ... } fn set_item(self, key: impl Into<Object>, value: impl Into<Object>) { ... } fn index_of_key(self, key: impl Into<Object>) -> i32 { ... } fn index_of_value(self, value: impl Into<Object>) -> i32 { ... } fn insert( self, index: impl Into<i32>, key: impl Into<Object>, value: impl Into<Object>, ) { ... } fn remove_at(self, index: impl Into<i32>) { ... } fn remove(self, key: impl Into<Object>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn init(self)

Init() overload

Source

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

.ctor(i32) overload

Source

fn ctor_3(self, comparer: impl Into<IComparer_Interface>)

.ctor(crate::system::collections::icomparer_interface::IComparer_Interface) overload

Source

fn ctor_4( self, comparer: impl Into<IComparer_Interface>, capacity: impl Into<i32>, )

.ctor(crate::system::collections::icomparer_interface::IComparer_Interface, i32) overload

Source

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

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

Source

fn get_capacity(self) -> i32

get_Capacity() 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_keys(self) -> ICollection

get_Keys() overload

Source

fn get_values(self) -> ICollection

get_Values() overload

Source

fn get_is_read_only(self) -> bool

get_IsReadOnly() overload

Source

fn get_is_fixed_size(self) -> bool

get_IsFixedSize() overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

fn clone(self) -> Object

Clone() overload

Source

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

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

Source

fn contains_key(self, key: impl Into<Object>) -> bool

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

Source

fn contains_value(self, value: impl Into<Object>) -> bool

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

Source

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

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

Source

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

EnsureCapacity(i32) overload

Source

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

GetByIndex(i32) overload

Source

fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator

System.Collections.IEnumerable.GetEnumerator() overload

Source

fn get_enumerator(self) -> IDictionaryEnumerator

GetEnumerator() overload

Source

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

GetKey(i32) overload

Source

fn get_key_list(self) -> IList

GetKeyList() overload

Source

fn get_value_list(self) -> IList

GetValueList() overload

Source

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

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

Source

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

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

Source

fn index_of_key(self, key: impl Into<Object>) -> i32

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

Source

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

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

Source

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

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

Source

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

RemoveAt(i32) overload

Source

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

Remove(crate::system::object::Object) 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: ISortedList> ISortedListMethods for __T

Available on crate feature system-collections-sortedlist only.