Enum arret_runtime::abitype::AbiType [−][src]
pub enum AbiType {
Bool,
Char,
Float,
Int,
InternedSym,
Boxed(BoxedAbiType),
Callback(&'static EntryPointAbiType),
}Encoded type for any boxed or unboxed value
Variants
Unboxed boolean value
This is identical to bool in Rust and C++
Unboxed character value
This is identical to char in Rust and wchar_t in C++
Unboxed 64bit float
This is identical to f64 in Rust and double in C++
Unboxed signed 64bit integer
This is identical to in i64 in Rust and std::int64_t in C++
Interned integer for a Sym
While this corresponds to InternedSym it’s currently only
used internally by the compiler.
Boxed(BoxedAbiType)Callback(&'static EntryPointAbiType)Implementations
impl AbiType[src]
impl AbiType[src]pub fn into_ret_abi_type(self) -> RetAbiType[src]
pub fn into_param_abi_type(self) -> ParamAbiType[src]
pub fn may_contain_gc_refs(&self) -> bool[src]
Trait Implementations
impl From<AbiType> for ParamAbiType[src]
impl From<AbiType> for ParamAbiType[src]fn from(abi_type: AbiType) -> ParamAbiType[src]
impl From<AbiType> for RetAbiType[src]
impl From<AbiType> for RetAbiType[src]fn from(abi_type: AbiType) -> RetAbiType[src]
impl From<BoxedAbiType> for AbiType[src]
impl From<BoxedAbiType> for AbiType[src]