Trait rhyoea_common::ffi::carray::FromPtr[][src]

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

Required methods

unsafe fn from_ptr(ptr: *const T) -> Self[src]

Performs the conversion

Safety

The pointer must be valid.

Loading content...

Implementors

impl FromPtr<i8> for Raw[src]

Loading content...