pub trait IHashSet_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 33 methods
// Provided methods
fn ctor(self)
where Self: Sized { ... }
fn ctor_2(self, comparer: IEqualityComparer_1_Interface<T0>)
where Self: Sized { ... }
fn ctor_3(self, collection: IEnumerable_1<T0>)
where Self: Sized { ... }
fn ctor_4(
self,
collection: IEnumerable_1<T0>,
comparer: IEqualityComparer_1_Interface<T0>,
)
where Self: Sized { ... }
fn copy_from(self, source: HashSet_1<T0>)
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 remove(self, item: T0) -> bool
where Self: Sized { ... }
fn get_count(self) -> i32
where Self: Sized { ... }
fn get_enumerator(self) -> HashSet_1_Enumerator<T0>
where Self: Sized { ... }
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized { ... }
fn on_deserialization(self, sender: Object)
where Self: Sized { ... }
fn add(self, item: T0) -> bool
where Self: Sized { ... }
fn union_with(self, other: IEnumerable_1<T0>)
where Self: Sized { ... }
fn intersect_with(self, other: IEnumerable_1<T0>)
where Self: Sized { ... }
fn set_equals(self, other: IEnumerable_1<T0>) -> bool
where Self: Sized { ... }
fn copy_to_2(self, array: Array<T0>)
where Self: Sized { ... }
fn copy_to_3(self, array: Array<T0>, array_index: i32, count: i32)
where Self: Sized { ... }
fn get_comparer(self) -> IEqualityComparer_1_Interface<T0>
where Self: Sized { ... }
fn trim_excess(self)
where Self: Sized { ... }
fn initialize(self, capacity: i32)
where Self: Sized { ... }
fn increase_capacity(self)
where Self: Sized { ... }
fn set_capacity(self, new_size: i32)
where Self: Sized { ... }
fn add_if_not_present(self, value: T0) -> bool
where Self: Sized { ... }
fn add_value(self, index: i32, hash_code: i32, value: T0)
where Self: Sized { ... }
fn contains_all_elements(self, other: IEnumerable_1<T0>) -> bool
where Self: Sized { ... }
fn intersect_with_hash_set_with_same_ec(self, other: HashSet_1<T0>)
where Self: Sized { ... }
fn intersect_with_enumerable(self, other: IEnumerable_1<T0>)
where Self: Sized { ... }
fn internal_index_of(self, item: T0) -> i32
where Self: Sized { ... }
fn check_unique_and_unfound_elements(
self,
other: IEnumerable_1<T0>,
return_if_unfound: bool,
) -> HashSet_1_ElementCount<T0>
where Self: Sized { ... }
fn are_equality_comparers_equal(
set1: HashSet_1<T0>,
set2: HashSet_1<T0>,
) -> bool { ... }
fn internal_get_hash_code(self, item: T0) -> i32
where Self: Sized { ... }
}Provided Methods§
fn ctor(self)where
Self: Sized,
fn ctor_2(self, comparer: IEqualityComparer_1_Interface<T0>)where
Self: Sized,
fn ctor_3(self, collection: IEnumerable_1<T0>)where
Self: Sized,
fn ctor_4(
self,
collection: IEnumerable_1<T0>,
comparer: IEqualityComparer_1_Interface<T0>,
)where
Self: Sized,
fn copy_from(self, source: HashSet_1<T0>)where
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 remove(self, item: T0) -> boolwhere
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_enumerator(self) -> HashSet_1_Enumerator<T0>where
Self: Sized,
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumeratorwhere
Self: Sized,
fn on_deserialization(self, sender: Object)where
Self: Sized,
fn add(self, item: T0) -> boolwhere
Self: Sized,
fn union_with(self, other: IEnumerable_1<T0>)where
Self: Sized,
fn intersect_with(self, other: IEnumerable_1<T0>)where
Self: Sized,
fn set_equals(self, other: IEnumerable_1<T0>) -> boolwhere
Self: Sized,
fn copy_to_2(self, array: Array<T0>)where
Self: Sized,
fn copy_to_3(self, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn get_comparer(self) -> IEqualityComparer_1_Interface<T0>where
Self: Sized,
fn trim_excess(self)where
Self: Sized,
fn initialize(self, capacity: i32)where
Self: Sized,
fn increase_capacity(self)where
Self: Sized,
fn set_capacity(self, new_size: i32)where
Self: Sized,
fn add_if_not_present(self, value: T0) -> boolwhere
Self: Sized,
fn add_value(self, index: i32, hash_code: i32, value: T0)where
Self: Sized,
fn contains_all_elements(self, other: IEnumerable_1<T0>) -> boolwhere
Self: Sized,
fn intersect_with_hash_set_with_same_ec(self, other: HashSet_1<T0>)where
Self: Sized,
fn intersect_with_enumerable(self, other: IEnumerable_1<T0>)where
Self: Sized,
fn internal_index_of(self, item: T0) -> i32where
Self: Sized,
fn check_unique_and_unfound_elements(
self,
other: IEnumerable_1<T0>,
return_if_unfound: bool,
) -> HashSet_1_ElementCount<T0>where
Self: Sized,
fn are_equality_comparers_equal( set1: HashSet_1<T0>, set2: HashSet_1<T0>, ) -> bool
fn internal_get_hash_code(self, item: T0) -> i32where
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.