Std

Mainly a port of Rust's std.
git clone https://git.philomathiclife.com/repos/Std
Log | Files | Refs | README

IExtend.cs (926B)


      1 #region Namespaces
      2 namespace Std.Iter {
      3     #region Types
      4     public interface IExtend<T> where T: notnull {
      5 
      6         #region Type-level Constructors
      7         #endregion
      8 
      9         #region Instance Constructors
     10         #endregion
     11 
     12         #region Type-level Fields
     13         #endregion
     14 
     15         #region Instance Fields
     16         #endregion
     17 
     18         #region Type-level Properties
     19         #endregion
     20 
     21         #region Instance Properties
     22         #endregion
     23 
     24         #region Type-level Functions
     25         #endregion
     26 
     27         #region Instance Functions
     28         public abstract Unit Extend<TIter>(TIter iter) where TIter: notnull, IIterator<T>;
     29         public abstract Unit ExtendOne(T val);
     30         public virtual Unit ExtendReserve(uint additional) => new();
     31         #endregion
     32 
     33         #region Operators
     34         #endregion
     35 
     36         #region Types
     37         #endregion
     38     }
     39     #endregion
     40 
     41     #region Namespaces
     42     #endregion
     43 }
     44 #endregion