macro_rules! ffi_converter_rust_buffer_lift_and_lower {
    ($uniffi_tag:ty) => { ... };
}
Expand description

Macro to implement lowering/lifting using a RustBuffer

For complex types where it’s too fiddly or too unsafe to convert them into a special-purpose C-compatible value, you can use this trait to implement lower() in terms of write() and lift in terms of read().

This macro implements the boilerplate needed to define lower, lift and FFIType.