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§
Sourcefn ctor_3(self, comparer: impl Into<IComparer_Interface>)
fn ctor_3(self, comparer: impl Into<IComparer_Interface>)
.ctor(crate::system::collections::icomparer_interface::IComparer_Interface) overload
Sourcefn ctor_4(
self,
comparer: impl Into<IComparer_Interface>,
capacity: impl Into<i32>,
)
fn ctor_4( self, comparer: impl Into<IComparer_Interface>, capacity: impl Into<i32>, )
.ctor(crate::system::collections::icomparer_interface::IComparer_Interface, i32) overload
Sourcefn add(self, key: impl Into<Object>, value: impl Into<Object>)
fn add(self, key: impl Into<Object>, value: impl Into<Object>)
Add(crate::system::object::Object, crate::system::object::Object) overload
Sourcefn get_capacity(self) -> i32
fn get_capacity(self) -> i32
get_Capacity() overload
Sourcefn set_capacity(self, value: impl Into<i32>)
fn set_capacity(self, value: impl Into<i32>)
set_Capacity(i32) overload
Sourcefn get_keys(self) -> ICollection
fn get_keys(self) -> ICollection
get_Keys() overload
Sourcefn get_values(self) -> ICollection
fn get_values(self) -> ICollection
get_Values() overload
Sourcefn get_is_read_only(self) -> bool
fn get_is_read_only(self) -> bool
get_IsReadOnly() overload
Sourcefn get_is_fixed_size(self) -> bool
fn get_is_fixed_size(self) -> bool
get_IsFixedSize() overload
Sourcefn get_is_synchronized(self) -> bool
fn get_is_synchronized(self) -> bool
get_IsSynchronized() overload
Sourcefn get_sync_root(self) -> Object
fn get_sync_root(self) -> Object
get_SyncRoot() overload
Sourcefn contains(self, key: impl Into<Object>) -> bool
fn contains(self, key: impl Into<Object>) -> bool
Contains(crate::system::object::Object) overload
Sourcefn contains_key(self, key: impl Into<Object>) -> bool
fn contains_key(self, key: impl Into<Object>) -> bool
ContainsKey(crate::system::object::Object) overload
Sourcefn contains_value(self, value: impl Into<Object>) -> bool
fn contains_value(self, value: impl Into<Object>) -> bool
ContainsValue(crate::system::object::Object) overload
Sourcefn copy_to(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)
fn copy_to(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)
CopyTo(::unity::IlInstance, i32) overload
Sourcefn ensure_capacity(self, min: impl Into<i32>)
fn ensure_capacity(self, min: impl Into<i32>)
EnsureCapacity(i32) overload
Sourcefn get_by_index(self, index: impl Into<i32>) -> Object
fn get_by_index(self, index: impl Into<i32>) -> Object
GetByIndex(i32) overload
Sourcefn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
System.Collections.IEnumerable.GetEnumerator() overload
Sourcefn get_enumerator(self) -> IDictionaryEnumerator
fn get_enumerator(self) -> IDictionaryEnumerator
GetEnumerator() overload
Sourcefn get_key_list(self) -> IList
fn get_key_list(self) -> IList
GetKeyList() overload
Sourcefn get_value_list(self) -> IList
fn get_value_list(self) -> IList
GetValueList() overload
Sourcefn get_item(self, key: impl Into<Object>) -> Object
fn get_item(self, key: impl Into<Object>) -> Object
get_Item(crate::system::object::Object) overload
Sourcefn set_item(self, key: impl Into<Object>, value: impl Into<Object>)
fn set_item(self, key: impl Into<Object>, value: impl Into<Object>)
set_Item(crate::system::object::Object, crate::system::object::Object) overload
Sourcefn index_of_key(self, key: impl Into<Object>) -> i32
fn index_of_key(self, key: impl Into<Object>) -> i32
IndexOfKey(crate::system::object::Object) overload
Sourcefn index_of_value(self, value: impl Into<Object>) -> i32
fn index_of_value(self, value: impl Into<Object>) -> i32
IndexOfValue(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§
impl<__T: ISortedList> ISortedListMethods for __T
system-collections-sortedlist only.