Class HashSetExtensions
Namespace: Unity.Collections.LowLevel.Unsafe
Syntax
public static class HashSetExtensions
Methods
ExceptWith<T>(UnsafeHashSet<T>, FixedList128<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, FixedList128<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList128<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, FixedList32<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, FixedList32<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList32<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, FixedList4096<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, FixedList4096<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList4096<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, FixedList512<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, FixedList512<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList512<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, FixedList64<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, FixedList64<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList64<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, UnsafeHashSet<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
UnsafeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, UnsafeList<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
UnsafeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, NativeArray<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeArray<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, NativeHashSet<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(UnsafeHashSet<T>, NativeList<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this UnsafeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, FixedList128<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, FixedList128<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList128<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, FixedList32<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, FixedList32<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList32<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, FixedList4096<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, FixedList4096<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList4096<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, FixedList512<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, FixedList512<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList512<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, FixedList64<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, FixedList64<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList64<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, UnsafeHashSet<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
UnsafeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, UnsafeList<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
UnsafeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, NativeArray<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeArray<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, NativeHashSet<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
ExceptWith<T>(NativeHashSet<T>, NativeList<T>)
Modifies this container to remove all values that are present in the other container.
Declaration
public static void ExceptWith<T>(this NativeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, FixedList128<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, FixedList128<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList128<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, FixedList32<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, FixedList32<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList32<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, FixedList4096<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, FixedList4096<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList4096<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, FixedList512<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, FixedList512<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList512<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, FixedList64<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, FixedList64<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList64<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, UnsafeHashSet<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
UnsafeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, UnsafeList<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
UnsafeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, NativeArray<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeArray<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, NativeHashSet<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(UnsafeHashSet<T>, NativeList<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this UnsafeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, FixedList128<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, FixedList128<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList128<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, FixedList32<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, FixedList32<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList32<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, FixedList4096<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, FixedList4096<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList4096<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, FixedList512<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, FixedList512<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList512<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, FixedList64<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, FixedList64<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList64<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, UnsafeHashSet<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
UnsafeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, UnsafeList<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
UnsafeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, NativeArray<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeArray<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, NativeHashSet<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
IntersectWith<T>(NativeHashSet<T>, NativeList<T>)
Modifies this container to keep only values that are present in both containers.
Declaration
public static void IntersectWith<T>(this NativeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, FixedList128<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, FixedList128<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList128<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, FixedList32<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, FixedList32<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList32<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, FixedList4096<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, FixedList4096<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList4096<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, FixedList512<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, FixedList512<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList512<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, FixedList64<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, FixedList64<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
FixedList64<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, UnsafeHashSet<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
UnsafeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, UnsafeList<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
UnsafeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, NativeArray<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeArray<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, NativeHashSet<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(UnsafeHashSet<T>, NativeList<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this UnsafeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | Container to modify. |
NativeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, FixedList128<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, FixedList128<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList128<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, FixedList32<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, FixedList32<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList32<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, FixedList4096<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, FixedList4096<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList4096<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, FixedList512<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, FixedList512<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList512<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, FixedList64<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, FixedList64<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
FixedList64<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, UnsafeHashSet<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
UnsafeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, UnsafeList<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
UnsafeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, NativeArray<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeArray<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, NativeHashSet<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeHashSet<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |
UnionWith<T>(NativeHashSet<T>, NativeList<T>)
Modifies this container to contain values from both containers.
Declaration
public static void UnionWith<T>(this NativeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | Container to modify. |
NativeList<T> | other | The container to compare to this container. |
Type Parameters
Name | Description |
---|---|
T | Source type of elements |