Class ReadOnlyHashSetExtensions
Extension methods for ReadOnlyHashSet<T>, providing additional functionality for more
restrictive constraints of type T.
Inherited Members
Namespace: Unity.XR.CoreUtils.Collections
Assembly: Unity.XR.CoreUtils.dll
Syntax
public static class ReadOnlyHashSetExtensions
Methods
CopyTo<T>(ReadOnlyHashSet<T>, NativeArray<T>)
Copies the elements of the set to a native array.
Declaration
public static void CopyTo<T>(this ReadOnlyHashSet<T> set, NativeArray<T> array) where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlyHashSet<T> | set | This instance. |
| NativeArray<T> | array | The array. |
Type Parameters
| Name | Description |
|---|---|
| T | The element type. |