docs.unity3d.com
    Show / Hide Table of Contents

    Struct WordStorage

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct WordStorage

    Fields

    kMaxCharsPerEntry

    Declaration
    public const int kMaxCharsPerEntry = null
    Field Value
    Type Description
    Int32

    Properties

    Entries

    Declaration
    public int Entries { get; }
    Property Value
    Type Description
    Int32

    Instance

    Declaration
    public static WordStorage Instance { get; }
    Property Value
    Type Description
    WordStorage

    Methods

    Clear()

    Declaration
    public static void Clear()

    Contains(String)

    Declaration
    public bool Contains(string value)
    Parameters
    Type Name Description
    String value
    Returns
    Type Description
    Boolean

    Contains<T>(ref T)

    Declaration
    public bool Contains<T>(ref T value)
        where T : IUTF8Bytes, INativeList<byte>
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T

    GetFixedString<T>(Int32, ref T)

    Declaration
    public void GetFixedString<T>(int index, ref T temp)
        where T : IUTF8Bytes, INativeList<byte>
    Parameters
    Type Name Description
    Int32 index
    T temp
    Type Parameters
    Name Description
    T

    GetIndexFromHashAndFixedString<T>(Int32, ref T)

    Declaration
    public int GetIndexFromHashAndFixedString<T>(int h, ref T temp)
        where T : IUTF8Bytes, INativeList<byte>
    Parameters
    Type Name Description
    Int32 h
    T temp
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    T

    GetOrCreateIndex<T>(ref T)

    Declaration
    public int GetOrCreateIndex<T>(ref T value)
        where T : IUTF8Bytes, INativeList<byte>
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    T

    Initialize()

    Declaration
    public static void Initialize()

    Setup()

    Declaration
    public static void Setup()

    Shutdown()

    Declaration
    public static void Shutdown()
    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