Trait KnownTypeValue
enso_prelude
pub trait KnownTypeValue { type Value; fn value() -> Self::Value; }
Defines relation between types and values, like between True and true.
True
true
type Value
The value-level counterpart of this type-value.
fn value() -> Self::Value
The value of this type-value.
impl KnownTypeValue for False
type Value = bool
impl KnownTypeValue for True