Trait canrun::domains::DomainType[][src]

pub trait DomainType<'a, T: Debug>: Domain<'a> { }
Expand description

Allows a State to retrieve values of a specific type from a domain.

This trait is automatically implemented by the domain! macro.

As of now there shouldn’t be much of a need to use this trait’s functionality in user facing code. The trait itself may need to be used as a constraint, though UnifyIn is often the better, higher level choice.