1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-02 22:36:00 +02:00
Beef/BeefLibs/corlib/src/Collections/IEnumerator.bf

25 lines
354 B
Beef
Raw Normal View History

2019-08-23 11:56:54 -07:00
using System;
namespace System.Collections
2019-08-23 11:56:54 -07:00
{
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();
}
}