Expand description
FFI-safe types used in the various Neotron APIs.
Note that all types in this file that are exported in the Api
structure
must be #[repr(C)]
and ABI stable.
Structs§
- FfiBuffer
- A Rust u8 mutable slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
- FfiByte
Slice - A Rust u8 slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
- FfiString
- A Rust UTF-8 string, but compatible with FFI.