pub trait ICollection_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 30 methods
// Provided methods
fn ctor(self)
where Self: Sized { ... }
fn ctor_2(self, list: IList_1_Interface<T0>)
where Self: Sized { ... }
fn get_count(self) -> i32
where Self: Sized { ... }
fn get_item(self, index: i32) -> T0
where Self: Sized { ... }
fn set_item(self, index: i32, value: T0)
where Self: Sized { ... }
fn add(self, item: T0)
where Self: Sized { ... }
fn clear(self)
where Self: Sized { ... }
fn copy_to(self, array: Array<T0>, index: i32)
where Self: Sized { ... }
fn contains(self, item: T0) -> bool
where Self: Sized { ... }
fn get_enumerator(self) -> IEnumerator_1<T0>
where Self: Sized { ... }
fn index_of(self, item: T0) -> i32
where Self: Sized { ... }
fn insert(self, index: i32, item: T0)
where Self: Sized { ... }
fn remove(self, item: T0) -> bool
where Self: Sized { ... }
fn remove_at(self, index: i32)
where Self: Sized { ... }
fn clear_items(self)
where Self: Sized { ... }
fn insert_item(self, index: i32, item: T0)
where Self: Sized { ... }
fn remove_item(self, 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_collection_copy_to(
self,
array: IlInstance,
index: i32,
)
where Self: Sized { ... }
fn system_collections_i_list_get_item(self, index: i32) -> Object
where Self: Sized { ... }
fn system_collections_i_list_set_item(self, index: i32, value: Object)
where Self: Sized { ... }
fn system_collections_i_list_get_is_read_only(self) -> bool
where Self: Sized { ... }
fn system_collections_i_list_add(self, value: Object) -> i32
where Self: Sized { ... }
fn system_collections_i_list_contains(self, value: Object) -> bool
where Self: Sized { ... }
fn system_collections_i_list_index_of(self, value: Object) -> i32
where Self: Sized { ... }
fn system_collections_i_list_insert(self, index: i32, value: Object)
where Self: Sized { ... }
fn system_collections_i_list_remove(self, value: Object)
where Self: Sized { ... }
fn is_compatible_object(value: Object) -> bool { ... }
}Provided Methods§
fn ctor(self)where
Self: Sized,
fn ctor_2(self, list: IList_1_Interface<T0>)where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn set_item(self, index: i32, value: T0)where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn clear(self)where
Self: Sized,
fn copy_to(self, array: Array<T0>, index: i32)where
Self: Sized,
fn contains(self, item: T0) -> boolwhere
Self: Sized,
fn get_enumerator(self) -> IEnumerator_1<T0>where
Self: Sized,
fn index_of(self, item: T0) -> i32where
Self: Sized,
fn insert(self, index: i32, item: T0)where
Self: Sized,
fn remove(self, item: T0) -> boolwhere
Self: Sized,
fn remove_at(self, index: i32)where
Self: Sized,
fn clear_items(self)where
Self: Sized,
fn insert_item(self, index: i32, item: T0)where
Self: Sized,
fn remove_item(self, 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_collection_copy_to(self, array: IlInstance, index: i32)where
Self: Sized,
fn system_collections_i_list_get_item(self, index: i32) -> Objectwhere
Self: Sized,
fn system_collections_i_list_set_item(self, index: i32, value: Object)where
Self: Sized,
fn system_collections_i_list_get_is_read_only(self) -> boolwhere
Self: Sized,
fn system_collections_i_list_add(self, value: Object) -> i32where
Self: Sized,
fn system_collections_i_list_contains(self, value: Object) -> boolwhere
Self: Sized,
fn system_collections_i_list_index_of(self, value: Object) -> i32where
Self: Sized,
fn system_collections_i_list_insert(self, index: i32, value: Object)where
Self: Sized,
fn system_collections_i_list_remove(self, value: Object)where
Self: Sized,
fn is_compatible_object(value: Object) -> bool
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.