Class HashSetExtensions | Collections | 0.15.0-preview.21
docs.unity.cn
    Show / Hide Table of Contents

    Class HashSetExtensions

    Inheritance
    Object
    HashSetExtensions
    Namespace: Unity.Collections.LowLevel.Unsafe.NotBurstCompatible
    Syntax
    public static class HashSetExtensions

    Methods

    ToArray<T>(UnsafeHashSet<T>)

    Returns managed array populated with elements from the container.

    Declaration
    public static T[] ToArray<T>(this UnsafeHashSet<T> container)
        where T : struct, IEquatable<T>
    Parameters
    Type Name Description
    UnsafeHashSet<T> container
    Returns
    Type Description
    T[]

    Array of elements of the container.

    Type Parameters
    Name Description
    T

    Source type of elements

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021