Crate ffi_types

Source

Modules§

cbindgen

Structs§

BoxedSlice
Rust wrapper for Box<[T]>.
BoxedStr
Rust wrapper for Box.
MutSliceRef
Rust wrapper for &mut u8.
OptionBox
A type alias for Option<Box<T>>.
SliceRef
Rust wrapper for &[T].
StrRef
Rust wrapper for &str.

Constants§

CXX_HEADER_CONTENT
CXX_HEADER_PATH
CXX_INCLUDE_PATH

Type Aliases§

Array
Box
A type alias for std::boxed::Box<T>.
ByteSliceRef
Rust wrapper for &u8. Though this alias is not very useful in Rust side, it gives a simple aliased buffer type for cbindgen.
CBox
CBoxedSlice
CBoxedStr
CByteSliceRef
COptionBox
CSliceRef
CStrRef
CharStrRef
not related to std::ffi::CStr or std::ffi::CString