Class FastEquality | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class FastEquality

    Inheritance
    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
    Type type
    HashSet<String> output

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

    Declaration
    public static bool Equals(void *lhsPtr, void *rhsPtr, FastEquality.TypeInfo typeInfo)
    Parameters
    Type Name Description
    Void* lhsPtr
    Void* rhsPtr
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    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
    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
    Boolean
    Type Parameters
    Name Description
    T

    GetHashCode(Void*, FastEquality.TypeInfo)

    Declaration
    public static int GetHashCode(void *dataPtr, FastEquality.TypeInfo typeInfo)
    Parameters
    Type Name Description
    Void* dataPtr
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    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
    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
    Int32
    Type Parameters
    Name Description
    T

    ManagedEquals(Object, Object, FastEquality.TypeInfo)

    Declaration
    public static bool ManagedEquals(object lhs, object rhs, FastEquality.TypeInfo typeInfo)
    Parameters
    Type Name Description
    Object lhs
    Object rhs
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    Boolean

    ManagedGetHashCode(Object, FastEquality.TypeInfo)

    Declaration
    public static int ManagedGetHashCode(object lhs, FastEquality.TypeInfo typeInfo)
    Parameters
    Type Name Description
    Object lhs
    FastEquality.TypeInfo typeInfo
    Returns
    Type Description
    Int32
    In This Article
    • Methods
      • AddExtraAOTTypes(Type, HashSet<String>)
      • Equals(Void*, Void*, FastEquality.TypeInfo)
      • Equals<T>(T, T, FastEquality.TypeInfo)
      • Equals<T>(ref T, ref T, FastEquality.TypeInfo)
      • GetHashCode(Void*, FastEquality.TypeInfo)
      • GetHashCode<T>(T, FastEquality.TypeInfo)
      • GetHashCode<T>(ref T, FastEquality.TypeInfo)
      • ManagedEquals(Object, Object, FastEquality.TypeInfo)
      • ManagedGetHashCode(Object, FastEquality.TypeInfo)
    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