Struct World.NoAllocReadOnlyCollection<T>
Read only collection that doesn't generate garbage when used in a foreach.
Namespace: Unity.Entities
Syntax
public struct NoAllocReadOnlyCollection<T> : IEnumerable<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
NoAllocReadOnlyCollection(List<T>) |
Properties
Name | Description |
---|---|
Count | |
Item[Int32] |
Methods
Name | Description |
---|---|
Contains(T) | |
GetEnumerator() |