[−][src]Trait ffi_utils::ReprC
Trait to convert between FFI and Rust representations of types.
Associated Types
Loading content...Required methods
unsafe fn clone_from_repr_c(repr_c: Self::C) -> Result<Self, Self::Error> where
Self: Sized,
Self: Sized,
Convert from a raw FFI type into a native Rust type by cloning the data.
Safety
The implementation of this function may be unsafe, as repr_c
may be a raw pointer that
needs to be valid.