pub trait IIndexedSet_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 18 methods
// Provided methods
fn add(self, item: T0)
where Self: Sized { ... }
fn add_unique(self, item: T0) -> bool
where Self: Sized { ... }
fn remove(self, item: T0) -> bool
where Self: Sized { ... }
fn get_enumerator(self) -> IEnumerator_1<T0>
where Self: Sized { ... }
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized { ... }
fn clear(self)
where Self: Sized { ... }
fn contains(self, item: T0) -> bool
where Self: Sized { ... }
fn copy_to(self, array: Array<T0>, array_index: i32)
where Self: Sized { ... }
fn get_count(self) -> i32
where Self: Sized { ... }
fn get_is_read_only(self) -> bool
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_at(self, index: 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 remove_all(self, match: Predicate_1<T0>)
where Self: Sized { ... }
fn sort(self, sort_layout_function: Comparison_1<T0>)
where Self: Sized { ... }
fn ctor(self)
where Self: Sized { ... }
}Provided Methods§
fn add(self, item: T0)where
Self: Sized,
fn add_unique(self, item: T0) -> boolwhere
Self: Sized,
fn remove(self, item: T0) -> boolwhere
Self: Sized,
fn get_enumerator(self) -> IEnumerator_1<T0>where
Self: Sized,
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumeratorwhere
Self: Sized,
fn clear(self)where
Self: Sized,
fn contains(self, item: T0) -> boolwhere
Self: Sized,
fn copy_to(self, array: Array<T0>, array_index: i32)where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_is_read_only(self) -> boolwhere
Self: Sized,
fn index_of(self, item: T0) -> i32where
Self: Sized,
fn insert(self, index: i32, item: T0)where
Self: Sized,
fn remove_at(self, index: i32)where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn set_item(self, index: i32, value: T0)where
Self: Sized,
fn remove_all(self, match: Predicate_1<T0>)where
Self: Sized,
fn sort(self, sort_layout_function: Comparison_1<T0>)where
Self: Sized,
fn ctor(self)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.