Class HashSetExtensions
Provides extension methods for sets.
Namespace: Unity.Collections.LowLevel.Unsafe
Syntax
public static class HashSetExtensions
Methods
ExceptWith<T>(ref UnsafeHashSet<T>, FixedList128Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, FixedList128Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList128Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, FixedList32Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, FixedList32Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList32Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, FixedList4096Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, FixedList4096Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList4096Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, FixedList512Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, FixedList512Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList512Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, FixedList64Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, FixedList64Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList64Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, UnsafeList<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, NativeArray<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeArray<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, NativeHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, NativeHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, NativeList<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, NativeParallelHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeHashSet<T>, NativeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, FixedList128Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList128Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList128Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, FixedList32Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList32Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList32Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, FixedList4096Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList4096Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList4096Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, FixedList512Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList512Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList512Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, FixedList64Bytes<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList64Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList64Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, UnsafeList<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, NativeArray<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeArray<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, NativeHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, NativeHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, NativeList<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, NativeParallelHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref UnsafeParallelHashSet<T>, NativeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeHashSet<T>, UnsafeList<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeParallelHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeParallelHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeParallelHashSet<T>, UnsafeList<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
ExceptWith<T>(ref NativeParallelHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are also present in another collection.
Declaration
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, FixedList128Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList128Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList128Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, FixedList32Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList32Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList32Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, FixedList4096Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList4096Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList4096Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, FixedList512Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList512Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList512Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, FixedList64Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList64Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
FixedList64Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, NativeArray<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeArray<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, NativeHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, NativeHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, NativeList<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, NativeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeHashSet<T>, NativeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, FixedList128Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList128Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList128Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, FixedList32Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList32Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList32Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, FixedList4096Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList4096Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList4096Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, FixedList512Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList512Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList512Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, FixedList64Bytes<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList64Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
FixedList64Bytes<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, NativeArray<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeArray<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, NativeHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, NativeHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, NativeList<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, NativeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref UnsafeParallelHashSet<T>, NativeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to remove values from. |
NativeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeParallelHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeParallelHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeParallelHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeList<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet<T> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
IntersectWith<T>(ref NativeParallelHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Removes the values from this set which are absent in another collection.
Declaration
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to remove values from. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to compare with. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, FixedList128Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, FixedList128Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
FixedList128Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, FixedList32Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, FixedList32Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
FixedList32Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, FixedList4096Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, FixedList4096Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
FixedList4096Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, FixedList512Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, FixedList512Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
FixedList512Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, FixedList64Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, FixedList64Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
FixedList64Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, UnsafeHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
UnsafeHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
UnsafeHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, UnsafeList<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
UnsafeList<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, UnsafeParallelHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, NativeArray<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
NativeArray<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, NativeHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
NativeHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, NativeHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
NativeHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, NativeList<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
NativeList<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, NativeParallelHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
NativeParallelHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeHashSet<T>, NativeParallelHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeHashSet<T> | container | The set to add values to. |
NativeParallelHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, FixedList128Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList128Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
FixedList128Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, FixedList32Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList32Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
FixedList32Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, FixedList4096Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList4096Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
FixedList4096Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, FixedList512Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList512Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
FixedList512Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, FixedList64Bytes<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList64Bytes<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
FixedList64Bytes<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, UnsafeHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
UnsafeHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
UnsafeHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, UnsafeList<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
UnsafeList<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, NativeArray<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, NativeArray<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
NativeArray<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, NativeHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
NativeHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, NativeHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
NativeHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, NativeList<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, NativeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
NativeList<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, NativeParallelHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
NativeParallelHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref UnsafeParallelHashSet<T>, NativeParallelHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeParallelHashSet<T> | container | The set to add values to. |
NativeParallelHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeHashSet<T>, UnsafeHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to add values to. |
UnsafeHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to add values to. |
UnsafeHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeHashSet<T>, UnsafeList<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to add values to. |
UnsafeList<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeHashSet<T>, UnsafeParallelHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeParallelHashSet<T>, UnsafeHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to add values to. |
UnsafeHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeParallelHashSet<T>, UnsafeHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to add values to. |
UnsafeHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeParallelHashSet<T>, UnsafeList<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeParallelHashSet<T> container, UnsafeList<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to add values to. |
UnsafeList<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T> other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet<T> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |
UnionWith<T>(ref NativeParallelHashSet<T>, UnsafeParallelHashSet<T>.ReadOnly)
Adds all values from a collection to this set.
Declaration
public static void UnionWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other)
where T : struct, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
NativeParallelHashSet<T> | container | The set to add values to. |
UnsafeParallelHashSet.ReadOnly<> | other | The collection to copy values from. |
Type Parameters
Name | Description |
---|---|
T | The type of values. |