Skip to content
WowbaggersLiquidLunch edited this page May 7, 2021 · 3 revisions

Types

  • IntervalBoundaryAccessibility: This file contains the definitaion of IntervalBoundaryAccessibility and IntervalBoundaryAvailability structs. The structs are defined ouside of the Interval generic struct, because boundaries are universal across all intervals, and not bound by the interval's member's type. A boundary, either closed or open.
  • IntervalBoundaryAvailability: A boundary, either inclusive or exclusive.
  • Interval.Endpoint: An endpoint's style, either bounded or unbounded.
  • Interval: This file contains the definition of the Interval generic struct, along with its extensions. Extensions of IntervalMember that closely relate to Interval are also contained within, but potentially will be moved into their own files. An interval.

Protocols

  • Countable: This file defines and provides default implementation for Countable, and conforms BinaryInteger types in the standard library to it. A type representing members of a countable set.
  • IntervalMember: A type that can be accepted by Interval as its Member.

Operators

Extensions

Clone this wiki locally