Class HashSetExtensions | Collections | 0.15.0-preview.21
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023