Class HashSetExtensions
Namespace: Unity.Collections.NotBurstCompatible
Syntax
public static class HashSetExtensions
Methods
ToArray<T>(NativeHashSet<T>)
Returns managed array populated with elements from the container.
Declaration
public static T[] ToArray<T>(this NativeHashSet<T> container)
where T : struct, IEquatable<T>
Parameters
| Type | Name | Description |
|---|---|---|
| NativeHashSet<T> | container |
Returns
| Type | Description |
|---|---|
| T[] | Array of elements of the container. |
Type Parameters
| Name | Description |
|---|---|
| T | Source type of elements |