RangeE

Description

struct Tinman.Core.Math.RangeE
<T val : Enum>

Derived from

IEquatable<RangeE<T>>
IRangeOps<T, RangeE<T>, int32>

A simple helper for defining a contiguous range of enumeration values.

See also

Ranges.Enum

Public / Attributes

All


public attribute All → (get)

value : IEnumerable<T>

[not-null]
The enumeration.

Enumerates the enumeration values in ascending order of their ordinals.

This property should be used to iterate over the enumeration values in this range. However, inside tight loop the Start and Last fields should be used to cycle through the values.

Last


public readonly attribute Last → (T)

The last enumeration value (inclusive).

Start


public readonly attribute Start → (T)

The first enumeration value (inclusive).