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

Bool

Unboxed boolean value

This is identical to bool in Rust and C++

Char

Unboxed character value

This is identical to char in Rust and wchar_t in C++

Float

Unboxed 64bit float

This is identical to f64 in Rust and double in C++

Int

Unboxed signed 64bit integer

This is identical to in i64 in Rust and std::int64_t in C++

InternedSym

Interned integer for a Sym

While this corresponds to InternedSym it’s currently only used internally by the compiler.

Boxed(BoxedAbiType)

Boxed value

Callback(&'static EntryPointAbiType)

Callback function

Implementations

impl AbiType[src]

Trait Implementations

impl Clone for AbiType[src]

impl Debug for AbiType[src]

impl From<AbiType> for ParamAbiType[src]

impl From<AbiType> for RetAbiType[src]

impl From<BoxedAbiType> for AbiType[src]

impl From<TypeTag> for AbiType[src]

impl Hash for AbiType[src]

impl PartialEq<AbiType> for AbiType[src]

impl Eq for AbiType[src]

impl StructuralEq for AbiType[src]

impl StructuralPartialEq for AbiType[src]

Auto Trait Implementations

impl RefUnwindSafe for AbiType

impl Send for AbiType

impl Sync for AbiType

impl Unpin for AbiType

impl UnwindSafe for AbiType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> HashInHeap for T where
    T: Hash
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PartialEqInHeap for T where
    T: PartialEq<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.