Skip to main content

from_host

Function from_host 

Source
pub fn from_host<T: Element, const N: usize>(h: &HostArray) -> [T; N]
Expand description

The elements of a host array of N elements of type T.

ยงPanics

Panics if the array does not have N elements of type T.