Trait arret_runtime::boxed::ConstTagged[][src]

pub trait ConstTagged: Boxed {
    const TYPE_TAG: TypeTag;
}

Marks that this boxed struct has a specific constant type tag

For example, Vector<Str> is ConstTagged because it always has a type tag of Vector. As a counterexample, Num is not because it could either have an Int or Float type tag.

In mathematical terms this can be thought of as the struct being surjective to the type tag.

Associated Constants

const TYPE_TAG: TypeTag[src]

Type tag for values of this type

Loading content...

Implementors

impl ConstTagged for Char[src]

impl ConstTagged for False[src]

impl ConstTagged for Float[src]

impl ConstTagged for FunThunk[src]

impl ConstTagged for Int[src]

impl ConstTagged for Map[src]

impl ConstTagged for Nil[src]

impl ConstTagged for Pair[src]

impl ConstTagged for Record[src]

impl ConstTagged for Set[src]

impl ConstTagged for Str[src]

impl ConstTagged for Sym[src]

impl ConstTagged for True[src]

impl ConstTagged for Vector[src]

Loading content...