Trait RangePattern

trait RangePattern

A trait implemented for integer types and char. Useful in the future for generic pattern types, but used right now to simplify ast lowering of pattern type ranges.

Required Methods

fn sub_one(self: Self) -> Self

A compile-time helper to subtract 1 for exclusive ranges.

Implementors