Type Alias LVArrayOwned

Source
pub type LVArrayOwned<const D: usize, T> = OwnedUHandle<LVArray<D, T>>;
Expand description

Definition of an owned handle to an array. Helper for FFI definition.

Aliased Type§

pub struct LVArrayOwned<const D: usize, T>(/* private fields */);

Implementations§

Source§

impl<const D: usize, T: NumericArrayResizable + Sized + Copy> LVArrayOwned<D, T>

Source

pub fn new_empty() -> Result<Self>

Create a new empty owned array. Once created you can use the existing handle methods to manipulate the data.

§Example
use labview_interop::types::LVArrayOwned;

let mut array = LVArrayOwned::<1, f64>::new_empty().unwrap();
array.resize_array([10].into()).unwrap();