pub trait IDictionary_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
Show 41 methods
// Provided methods
fn ctor(self)
where Self: Sized { ... }
fn ctor_2(self, capacity: i32)
where Self: Sized { ... }
fn ctor_3(self, comparer: IEqualityComparer_1_Interface<T0>)
where Self: Sized { ... }
fn ctor_4(self, capacity: i32, comparer: IEqualityComparer_1_Interface<T0>)
where Self: Sized { ... }
fn ctor_5(self, dictionary: IDictionary_2_Interface<T0, T1>)
where Self: Sized { ... }
fn ctor_6(
self,
dictionary: IDictionary_2_Interface<T0, T1>,
comparer: IEqualityComparer_1_Interface<T0>,
)
where Self: Sized { ... }
fn get_count(self) -> i32
where Self: Sized { ... }
fn get_keys(self) -> Dictionary_2_KeyCollection<T0, T1>
where Self: Sized { ... }
fn get_values(self) -> Dictionary_2_ValueCollection<T0, T1>
where Self: Sized { ... }
fn get_item(self, key: T0) -> T1
where Self: Sized { ... }
fn set_item(self, key: T0, value: T1)
where Self: Sized { ... }
fn add(self, key: T0, value: T1)
where Self: Sized { ... }
fn clear(self)
where Self: Sized { ... }
fn contains_key(self, key: T0) -> bool
where Self: Sized { ... }
fn contains_value(self, value: T1) -> bool
where Self: Sized { ... }
fn copy_to(self, array: Array<KeyValuePair_2<T0, T1>>, index: i32)
where Self: Sized { ... }
fn get_enumerator(self) -> Dictionary_2_Enumerator<T0, T1>
where Self: Sized { ... }
fn find_entry(self, key: T0) -> i32
where Self: Sized { ... }
fn initialize(self, capacity: i32)
where Self: Sized { ... }
fn try_insert(self, key: T0, value: T1, behavior: InsertionBehavior) -> bool
where Self: Sized { ... }
fn on_deserialization(self, sender: Object)
where Self: Sized { ... }
fn resize(self)
where Self: Sized { ... }
fn resize_2(self, new_size: i32, force_new_hash_codes: bool)
where Self: Sized { ... }
fn remove(self, key: T0) -> bool
where Self: Sized { ... }
fn try_get_value(self, key: T0) -> (bool, T1)
where Self: Sized { ... }
fn try_add(self, key: T0, value: T1) -> bool
where Self: Sized { ... }
fn system_collections_i_collection_copy_to(
self,
array: IlInstance,
index: i32,
)
where Self: Sized { ... }
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized { ... }
fn system_collections_i_collection_get_is_synchronized(self) -> bool
where Self: Sized { ... }
fn system_collections_i_collection_get_sync_root(self) -> Object
where Self: Sized { ... }
fn system_collections_i_dictionary_get_is_fixed_size(self) -> bool
where Self: Sized { ... }
fn system_collections_i_dictionary_get_is_read_only(self) -> bool
where Self: Sized { ... }
fn system_collections_i_dictionary_get_keys(self) -> ICollection
where Self: Sized { ... }
fn system_collections_i_dictionary_get_values(self) -> ICollection
where Self: Sized { ... }
fn system_collections_i_dictionary_get_item(self, key: Object) -> Object
where Self: Sized { ... }
fn system_collections_i_dictionary_set_item(
self,
key: Object,
value: Object,
)
where Self: Sized { ... }
fn is_compatible_key(key: Object) -> bool { ... }
fn system_collections_i_dictionary_add(self, key: Object, value: Object)
where Self: Sized { ... }
fn system_collections_i_dictionary_contains(self, key: Object) -> bool
where Self: Sized { ... }
fn system_collections_i_dictionary_get_enumerator(
self,
) -> IDictionaryEnumerator
where Self: Sized { ... }
fn system_collections_i_dictionary_remove(self, key: Object)
where Self: Sized { ... }
}Provided Methods§
fn ctor(self)where
Self: Sized,
fn ctor_2(self, capacity: i32)where
Self: Sized,
fn ctor_3(self, comparer: IEqualityComparer_1_Interface<T0>)where
Self: Sized,
fn ctor_4(self, capacity: i32, comparer: IEqualityComparer_1_Interface<T0>)where
Self: Sized,
fn ctor_5(self, dictionary: IDictionary_2_Interface<T0, T1>)where
Self: Sized,
fn ctor_6(
self,
dictionary: IDictionary_2_Interface<T0, T1>,
comparer: IEqualityComparer_1_Interface<T0>,
)where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_keys(self) -> Dictionary_2_KeyCollection<T0, T1>where
Self: Sized,
fn get_values(self) -> Dictionary_2_ValueCollection<T0, T1>where
Self: Sized,
fn get_item(self, key: T0) -> T1where
Self: Sized,
fn set_item(self, key: T0, value: T1)where
Self: Sized,
fn add(self, key: T0, value: T1)where
Self: Sized,
fn clear(self)where
Self: Sized,
fn contains_key(self, key: T0) -> boolwhere
Self: Sized,
fn contains_value(self, value: T1) -> boolwhere
Self: Sized,
fn copy_to(self, array: Array<KeyValuePair_2<T0, T1>>, index: i32)where
Self: Sized,
fn get_enumerator(self) -> Dictionary_2_Enumerator<T0, T1>where
Self: Sized,
fn find_entry(self, key: T0) -> i32where
Self: Sized,
fn initialize(self, capacity: i32)where
Self: Sized,
fn try_insert(self, key: T0, value: T1, behavior: InsertionBehavior) -> boolwhere
Self: Sized,
fn on_deserialization(self, sender: Object)where
Self: Sized,
fn resize(self)where
Self: Sized,
fn resize_2(self, new_size: i32, force_new_hash_codes: bool)where
Self: Sized,
fn remove(self, key: T0) -> boolwhere
Self: Sized,
fn try_get_value(self, key: T0) -> (bool, T1)where
Self: Sized,
fn try_add(self, key: T0, value: T1) -> boolwhere
Self: Sized,
fn system_collections_i_collection_copy_to(self, array: IlInstance, index: i32)where
Self: Sized,
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumeratorwhere
Self: Sized,
fn system_collections_i_collection_get_is_synchronized(self) -> boolwhere
Self: Sized,
fn system_collections_i_collection_get_sync_root(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_get_is_fixed_size(self) -> boolwhere
Self: Sized,
fn system_collections_i_dictionary_get_is_read_only(self) -> boolwhere
Self: Sized,
fn system_collections_i_dictionary_get_keys(self) -> ICollectionwhere
Self: Sized,
fn system_collections_i_dictionary_get_values(self) -> ICollectionwhere
Self: Sized,
fn system_collections_i_dictionary_get_item(self, key: Object) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_set_item(self, key: Object, value: Object)where
Self: Sized,
fn is_compatible_key(key: Object) -> bool
fn system_collections_i_dictionary_add(self, key: Object, value: Object)where
Self: Sized,
fn system_collections_i_dictionary_contains(self, key: Object) -> boolwhere
Self: Sized,
fn system_collections_i_dictionary_get_enumerator(self) -> IDictionaryEnumeratorwhere
Self: Sized,
fn system_collections_i_dictionary_remove(self, key: Object)where
Self: Sized,
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.