Trait arret_runtime::boxed::UniqueTagged[][src]

pub trait UniqueTagged: ConstTagged + DistinctTagged { }

Marks that every boxed value with TYPE_TAG corresponds to this boxed struct

For example, Str is UniqueTagged because no other struct has the type tag of Str. As a counterexample, Vector<Str> is not because it shares a type tag with Vector<Sym>.

In mathematical terms this can be thought of as the struct being bijective with the type tag.

Implementors

impl UniqueTagged for Char[src]

impl UniqueTagged for False[src]

impl UniqueTagged for Float[src]

impl UniqueTagged for FunThunk[src]

impl UniqueTagged for Int[src]

impl UniqueTagged for Nil[src]

impl UniqueTagged for Str[src]

impl UniqueTagged for Sym[src]

impl UniqueTagged for True[src]

Loading content...