Enum arret_runtime::boxed::TypeTag [−][src]
#[repr(u8)] pub enum TypeTag {}Show variants
Float, Int, Char, Str, Sym, Pair, Nil, True, False, Vector, FunThunk, Record, Set, Map,
Tag byte identifying top-level types
Variants
Implementations
impl TypeTag
[src]
impl TypeTag
[src]pub fn to_boxed_abi_type(self) -> BoxedAbiType
[src]
Returns the boxed ABI type corresponding to this type tag
pub fn to_const_header(self) -> Header
[src]
Returns a header for a constant boxed values of this type
pub fn to_heap_header(self, box_size: BoxSize) -> Header
[src]
Returns a header for heap allocated values of this type and size
impl TypeTag
[src]
impl TypeTag
[src]Trait Implementations
impl From<TypeTag> for BoxedAbiType
[src]
impl From<TypeTag> for BoxedAbiType
[src]fn from(type_tag: TypeTag) -> BoxedAbiType
[src]
impl From<TypeTag> for ParamAbiType
[src]
impl From<TypeTag> for ParamAbiType
[src]fn from(type_tag: TypeTag) -> ParamAbiType
[src]
impl From<TypeTag> for RetAbiType
[src]
impl From<TypeTag> for RetAbiType
[src]