pub trait IntoFFIValue: RIType {
type Owned;
// Required method
fn into_ffi_value(&self) -> WrappedFFIValue<Self::FFIType, Self::Owned>;
}
Expand description
Something that can be converted into a ffi value.
Required Associated Types§
Sourcetype Owned
type Owned
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§
Sourcefn into_ffi_value(&self) -> WrappedFFIValue<Self::FFIType, Self::Owned>
fn into_ffi_value(&self) -> WrappedFFIValue<Self::FFIType, Self::Owned>
Convert self
into a WrappedFFIValue
.