FFIVecConversion

Trait FFIVecConversion 

Source
pub trait FFIVecConversion {
    type Value: IntoIterator;

    // Required methods
    unsafe fn decode(&self) -> Self::Value;
    unsafe fn encode(obj: Self::Value) -> *mut Self;
}

Required Associated Types§

Required Methods§

Source

unsafe fn decode(&self) -> Self::Value

§Safety
Source

unsafe fn encode(obj: Self::Value) -> *mut Self

§Safety

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.

Implementors§