multiversx_sc_snippets::imports

Trait ManagedTypeApi

Source
pub trait ManagedTypeApi:
    HandleTypeInfo
    + StaticVarApi
    + ErrorApi
    + Clone
    + 'static {
    type ManagedTypeApiImpl: ManagedTypeApiImpl<ManagedBufferHandle = Self::ManagedBufferHandle, BigIntHandle = Self::BigIntHandle, BigFloatHandle = Self::BigFloatHandle, EllipticCurveHandle = Self::EllipticCurveHandle, ManagedMapHandle = Self::ManagedMapHandle> + HandleTypeInfo;

    // Required method
    fn managed_type_impl() -> Self::ManagedTypeApiImpl;
}

Required Associated Types§

Source

type ManagedTypeApiImpl: ManagedTypeApiImpl<ManagedBufferHandle = Self::ManagedBufferHandle, BigIntHandle = Self::BigIntHandle, BigFloatHandle = Self::BigFloatHandle, EllipticCurveHandle = Self::EllipticCurveHandle, ManagedMapHandle = Self::ManagedMapHandle> + HandleTypeInfo

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<VHB> ManagedTypeApi for VMHooksApi<VHB>
where VHB: VMHooksApiBackend,

Implementors§