Trait FromPtr
rhyoea_common::ffi::carray
pub trait FromPtr<T> { unsafe fn from_ptr(ptr: *const T) -> Self; }
Used to do pointer-to-value conversions while not consuming the input value
unsafe fn from_ptr(ptr: *const T) -> Self
Performs the conversion
The pointer must be valid.
impl FromPtr<i8> for Raw
unsafe fn from_ptr(ptr: *const i8) -> Self