pub type LVArrayHandle<'a, const D: usize, T> = UHandle<'a, LVArray<D, T>>;Expand description
Definition of a handle to an array. Helper for FFI definition.
Aliased Type§
#[repr(transparent)]pub struct LVArrayHandle<'a, const D: usize, T>(pub *mut *mut LVArray<D, T>, pub PhantomData<&'a LVArray<D, T>>);Tuple Fields§
§0: *mut *mut LVArray<D, T>§1: PhantomData<&'a LVArray<D, T>>Implementations§
Source§impl<const D: usize, T: NumericArrayResizable> LVArrayHandle<'_, D, T>
impl<const D: usize, T: NumericArrayResizable> LVArrayHandle<'_, D, T>
Sourcepub fn resize_array(&mut self, new_dims: LVArrayDims<D>) -> Result<()>
pub fn resize_array(&mut self, new_dims: LVArrayDims<D>) -> Result<()>
Resize the array to the new size.