Trait enso_prelude::KnownTypeValue[][src]

pub trait KnownTypeValue {
    type Value;
    fn value() -> Self::Value;
}
Expand description

Defines relation between types and values, like between True and true.

Associated Types

type Value[src]

The value-level counterpart of this type-value.

Required methods

fn value() -> Self::Value[src]

The value of this type-value.

Implementors

impl KnownTypeValue for False[src]

type Value = bool

fn value() -> Self::Value[src]

impl KnownTypeValue for True[src]

type Value = bool

fn value() -> Self::Value[src]