Trait sp_runtime_interface::wasm::IntoFFIValue[][src]

pub trait IntoFFIValue: RIType {
    type Owned;
    fn into_ffi_value(&self) -> WrappedFFIValue<Self::FFIType, Self::Owned>;
}
Expand description

Something that can be converted into a ffi value.

Associated Types

The owned rust type that is stored with the ffi value in WrappedFFIValue.

If no owned value is required, () can be used as a type.

Required methods

Convert self into a WrappedFFIValue.

Implementors