mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
29 lines
430 B
Beef
29 lines
430 B
Beef
using System;
|
|
|
|
namespace System.Collections
|
|
{
|
|
interface IEnumerator<T>
|
|
{
|
|
Result<T> GetNext() mut;
|
|
}
|
|
|
|
interface IResettable
|
|
{
|
|
void Reset() mut;
|
|
}
|
|
|
|
interface IRefEnumerator<T>
|
|
{
|
|
Result<T> GetNextRef() mut;
|
|
}
|
|
|
|
concrete interface IEnumerable<T>
|
|
{
|
|
concrete IEnumerator<T> GetEnumerator();
|
|
}
|
|
|
|
concrete interface IRefEnumerable<T>
|
|
{
|
|
concrete IRefEnumerator<T> GetEnumerator();
|
|
}
|
|
}
|