[][src]Module iching::hexagram_repository

Contains traits for implementing generic repositories of hexagram meanings.

Structs

ChangingLineMeaning

Associates the meaning of a changing line with the position of a changing line in a hexagram.

Traits

HexagramInfo

A generic interface to some data for a hexagram. HexagramInfo objects are provided by a HexagramRepository, and are referred to by number.

HexagramRepository

A generic interface for some repository of information on individual hexagrams. For example, this repository could be a local JSON file or even some data in a remote server. It allows one to fetch data for an individual hexagram by way of returning a generic HexagramInfo object.