Struct WordStorage | Collections | 0.15.0-preview.21
docs.unity.cn
    Show / Hide Table of Contents

    Struct WordStorage

    Namespace: Unity.Collections
    Syntax
    public struct WordStorage

    Fields

    kMaxCharsPerEntry

    Declaration
    public const int kMaxCharsPerEntry = 4096
    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 © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021