Class FastEquality | Package Manager UI website
docs.unity.cn
    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 © 2019 Unity Technologies
    Generated by DocFX