mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 00:20:25 +02:00
25 lines
362 B
Beef
25 lines
362 B
Beef
![]() |
using System;
|
||
|
|
||
|
namespace System.Collections.Generic
|
||
|
{
|
||
|
interface IEnumerator<T>
|
||
|
{
|
||
|
Result<T> GetNext() mut;
|
||
|
}
|
||
|
|
||
|
interface IResettable
|
||
|
{
|
||
|
void Reset() mut;
|
||
|
}
|
||
|
|
||
|
interface IRefEnumerator<T> : IEnumerator<T>
|
||
|
{
|
||
|
Result<T*> GetNextRef() mut;
|
||
|
}
|
||
|
|
||
|
concrete interface IEnumerable<T>
|
||
|
{
|
||
|
concrete IEnumerator<T> GetEnumerator();
|
||
|
}
|
||
|
}
|