Class FastEquality | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class FastEquality

    Inheritance
    System.Object
    FastEquality
    Namespace: Unity.Entities
    Syntax
    public static class FastEquality

    Methods

    AddExtraAOTTypes(Type, HashSet<String>)

    Declaration
    public static void AddExtraAOTTypes(Type type, HashSet<string> output)
    Parameters
    Type Name Description
    System.Type type
    HashSet<System.String> output

    Equals(Void*, Void*, FastEquality.TypeInfo)

    Declaration
    public static bool Equals(void *lhsPtr, void *rhsPtr, FastEquality.TypeInfo typeInfo)
    Parameters
    Type Name Description
    System.Void* lhsPtr
    System.Void* rhsPtr
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    System.Boolean

    Equals<T>(T, T, FastEquality.TypeInfo)

    Declaration
    public static bool Equals<T>(T lhs, T rhs, FastEquality.TypeInfo typeInfo)
        where T : struct
    Parameters
    Type Name Description
    T lhs
    T rhs
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    Equals<T>(ref T, ref T, FastEquality.TypeInfo)

    Declaration
    public static bool Equals<T>(ref T lhs, ref T rhs, FastEquality.TypeInfo typeInfo)
        where T : struct
    Parameters
    Type Name Description
    T lhs
    T rhs
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    GetHashCode(Void*, FastEquality.TypeInfo)

    Declaration
    public static int GetHashCode(void *dataPtr, FastEquality.TypeInfo typeInfo)
    Parameters
    Type Name Description
    System.Void* dataPtr
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    System.Int32

    GetHashCode<T>(T, FastEquality.TypeInfo)

    Declaration
    public static int GetHashCode<T>(T lhs, FastEquality.TypeInfo typeInfo)
        where T : struct
    Parameters
    Type Name Description
    T lhs
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    T

    GetHashCode<T>(ref T, FastEquality.TypeInfo)

    Declaration
    public static int GetHashCode<T>(ref T lhs, FastEquality.TypeInfo typeInfo)
        where T : struct
    Parameters
    Type Name Description
    T lhs
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    T
    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