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

pub trait FromCArray<T> {
    unsafe fn from_c_array(c_array: *const *const T, len: usize) -> Self;
}

Used to do pointer to value array conversions while not consuming the input value.

Required methods

unsafe fn from_c_array(c_array: *const *const T, len: usize) -> Self[src]

Performs the conversion

Safety

The array pointer must be valid.

Loading content...

Implementations on Foreign Types

impl<T> FromCArray<i8> for Vec<T> where
    T: VulkanProperty + FromPtr<i8>, 
[src]

Loading content...

Implementors

Loading content...