Struct SerializedSwiftSparseMapEntry<T>
- Namespace
- SwiftCollections.Unity
Unity-serializable integer key/value entry used by SerializedSwiftSparseMap<T>.
[Serializable]
public struct SerializedSwiftSparseMapEntry<T>
Type Parameters
TA Unity-serializable value type.
- Inherited Members
Constructors
SerializedSwiftSparseMapEntry(int, T)
Initializes a serialized sparse map entry.
public SerializedSwiftSparseMapEntry(int key, T value)
Parameters
keyintThe non-negative integer key.
valueTThe entry value.
Properties
Key
Gets or sets the integer key.
public int Key { get; set; }
Property Value
Value
Gets or sets the entry value.
public T Value { get; set; }
Property Value
- T