2019-08-23 11:56:54 -07:00
|
|
|
using System;
|
|
|
|
|
2020-04-29 06:40:03 -07:00
|
|
|
namespace System.Collections
|
2019-08-23 11:56:54 -07:00
|
|
|
{
|
|
|
|
interface IEnumerator<T>
|
|
|
|
{
|
|
|
|
Result<T> GetNext() mut;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IResettable
|
|
|
|
{
|
|
|
|
void Reset() mut;
|
|
|
|
}
|
|
|
|
|
2020-05-01 16:29:12 -07:00
|
|
|
interface IRefEnumerator<T>
|
2019-08-23 11:56:54 -07:00
|
|
|
{
|
2020-05-01 16:29:12 -07:00
|
|
|
Result<T> GetNextRef() mut;
|
2019-08-23 11:56:54 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
concrete interface IEnumerable<T>
|
|
|
|
{
|
|
|
|
concrete IEnumerator<T> GetEnumerator();
|
|
|
|
}
|
2020-05-01 16:29:12 -07:00
|
|
|
|
|
|
|
concrete interface IRefEnumerable<T>
|
|
|
|
{
|
|
|
|
concrete IRefEnumerator<T> GetEnumerator();
|
|
|
|
}
|
2019-08-23 11:56:54 -07:00
|
|
|
}
|