pub trait IList_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 54 methods
// Provided methods
fn ctor(self)
where Self: Sized { ... }
fn ctor_2(self, capacity: i32)
where Self: Sized { ... }
fn ctor_3(self, collection: IEnumerable_1<T0>)
where Self: Sized { ... }
fn get_capacity(self) -> i32
where Self: Sized { ... }
fn set_capacity(self, value: i32)
where Self: Sized { ... }
fn get_count(self) -> i32
where Self: Sized { ... }
fn system_collections_i_list_get_is_read_only(self) -> bool
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 get_item(self, index: i32) -> T0
where Self: Sized { ... }
fn set_item(self, index: i32, value: T0)
where Self: Sized { ... }
fn is_compatible_object(value: Object) -> bool { ... }
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 add(self, item: T0)
where Self: Sized { ... }
fn system_collections_i_list_add(self, item: Object) -> i32
where Self: Sized { ... }
fn add_range(self, collection: IEnumerable_1<T0>)
where Self: Sized { ... }
fn as_read_only(self) -> ReadOnlyCollection_1<T0>
where Self: Sized { ... }
fn binary_search(
self,
index: i32,
count: i32,
item: T0,
comparer: IComparer_1_Interface<T0>,
) -> i32
where Self: Sized { ... }
fn binary_search_2(
self,
item: T0,
comparer: IComparer_1_Interface<T0>,
) -> i32
where Self: Sized { ... }
fn clear(self)
where Self: Sized { ... }
fn contains(self, item: T0) -> bool
where Self: Sized { ... }
fn system_collections_i_list_contains(self, item: Object) -> bool
where Self: Sized { ... }
fn copy_to(self, array: Array<T0>)
where Self: Sized { ... }
fn system_collections_i_collection_copy_to(
self,
array: IlInstance,
array_index: i32,
)
where Self: Sized { ... }
fn copy_to_2(
self,
index: i32,
array: Array<T0>,
array_index: i32,
count: i32,
)
where Self: Sized { ... }
fn copy_to_3(self, array: Array<T0>, array_index: i32)
where Self: Sized { ... }
fn ensure_capacity(self, min: i32)
where Self: Sized { ... }
fn exists(self, match: Predicate_1<T0>) -> bool
where Self: Sized { ... }
fn find(self, match: Predicate_1<T0>) -> T0
where Self: Sized { ... }
fn find_all(self, match: Predicate_1<T0>) -> List_1<T0>
where Self: Sized { ... }
fn find_index(self, match: Predicate_1<T0>) -> i32
where Self: Sized { ... }
fn find_index_2(
self,
start_index: i32,
count: i32,
match: Predicate_1<T0>,
) -> i32
where Self: Sized { ... }
fn for_each(self, action: Action_1<T0>)
where Self: Sized { ... }
fn get_enumerator(self) -> List_1_Enumerator<T0>
where Self: Sized { ... }
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized { ... }
fn index_of(self, item: T0) -> i32
where Self: Sized { ... }
fn system_collections_i_list_index_of(self, item: Object) -> i32
where Self: Sized { ... }
fn insert(self, index: i32, item: T0)
where Self: Sized { ... }
fn system_collections_i_list_insert(self, index: i32, item: Object)
where Self: Sized { ... }
fn insert_range(self, index: i32, collection: IEnumerable_1<T0>)
where Self: Sized { ... }
fn remove(self, item: T0) -> bool
where Self: Sized { ... }
fn system_collections_i_list_remove(self, item: Object)
where Self: Sized { ... }
fn remove_all(self, match: Predicate_1<T0>) -> i32
where Self: Sized { ... }
fn remove_at(self, index: i32)
where Self: Sized { ... }
fn remove_range(self, index: i32, count: i32)
where Self: Sized { ... }
fn reverse(self)
where Self: Sized { ... }
fn reverse_2(self, index: i32, count: i32)
where Self: Sized { ... }
fn sort(self)
where Self: Sized { ... }
fn sort_2(self, comparer: IComparer_1_Interface<T0>)
where Self: Sized { ... }
fn sort_3(self, index: i32, count: i32, comparer: IComparer_1_Interface<T0>)
where Self: Sized { ... }
fn sort_4(self, comparison: Comparison_1<T0>)
where Self: Sized { ... }
fn to_array(self) -> Array<T0>
where Self: Sized { ... }
fn cctor() { ... }
}Provided Methods§
fn ctor(self)where
Self: Sized,
fn ctor_2(self, capacity: i32)where
Self: Sized,
fn ctor_3(self, collection: IEnumerable_1<T0>)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn set_capacity(self, value: i32)where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn system_collections_i_list_get_is_read_only(self) -> boolwhere
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 get_item(self, index: i32) -> T0where
Self: Sized,
fn set_item(self, index: i32, value: T0)where
Self: Sized,
fn is_compatible_object(value: Object) -> bool
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 add(self, item: T0)where
Self: Sized,
fn system_collections_i_list_add(self, item: Object) -> i32where
Self: Sized,
fn add_range(self, collection: IEnumerable_1<T0>)where
Self: Sized,
fn as_read_only(self) -> ReadOnlyCollection_1<T0>where
Self: Sized,
fn binary_search(
self,
index: i32,
count: i32,
item: T0,
comparer: IComparer_1_Interface<T0>,
) -> i32where
Self: Sized,
fn binary_search_2(self, item: T0, comparer: IComparer_1_Interface<T0>) -> i32where
Self: Sized,
fn clear(self)where
Self: Sized,
fn contains(self, item: T0) -> boolwhere
Self: Sized,
fn system_collections_i_list_contains(self, item: Object) -> boolwhere
Self: Sized,
fn copy_to(self, array: Array<T0>)where
Self: Sized,
fn system_collections_i_collection_copy_to(
self,
array: IlInstance,
array_index: i32,
)where
Self: Sized,
fn copy_to_2(self, index: i32, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn copy_to_3(self, array: Array<T0>, array_index: i32)where
Self: Sized,
fn ensure_capacity(self, min: i32)where
Self: Sized,
fn exists(self, match: Predicate_1<T0>) -> boolwhere
Self: Sized,
fn find(self, match: Predicate_1<T0>) -> T0where
Self: Sized,
fn find_all(self, match: Predicate_1<T0>) -> List_1<T0>where
Self: Sized,
fn find_index(self, match: Predicate_1<T0>) -> i32where
Self: Sized,
fn find_index_2(
self,
start_index: i32,
count: i32,
match: Predicate_1<T0>,
) -> i32where
Self: Sized,
fn for_each(self, action: Action_1<T0>)where
Self: Sized,
fn get_enumerator(self) -> List_1_Enumerator<T0>where
Self: Sized,
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumeratorwhere
Self: Sized,
fn index_of(self, item: T0) -> i32where
Self: Sized,
fn system_collections_i_list_index_of(self, item: Object) -> i32where
Self: Sized,
fn insert(self, index: i32, item: T0)where
Self: Sized,
fn system_collections_i_list_insert(self, index: i32, item: Object)where
Self: Sized,
fn insert_range(self, index: i32, collection: IEnumerable_1<T0>)where
Self: Sized,
fn remove(self, item: T0) -> boolwhere
Self: Sized,
fn system_collections_i_list_remove(self, item: Object)where
Self: Sized,
fn remove_all(self, match: Predicate_1<T0>) -> i32where
Self: Sized,
fn remove_at(self, index: i32)where
Self: Sized,
fn remove_range(self, index: i32, count: i32)where
Self: Sized,
fn reverse(self)where
Self: Sized,
fn reverse_2(self, index: i32, count: i32)where
Self: Sized,
fn sort(self)where
Self: Sized,
fn sort_2(self, comparer: IComparer_1_Interface<T0>)where
Self: Sized,
fn sort_3(self, index: i32, count: i32, comparer: IComparer_1_Interface<T0>)where
Self: Sized,
fn sort_4(self, comparison: Comparison_1<T0>)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn cctor()
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.