Implementations
sourceimpl<'a, T> DataArray<'a, T>where
[T]: ToOwned<Owned = Vec<T>>,
impl<'a, T> DataArray<'a, T>where
[T]: ToOwned<Owned = Vec<T>>,
pub fn new(dat: &'a [T], sizes: &'a [i32]) -> DataArray<'a, T>
pub fn data(&self) -> &[T]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
pub fn data_mut(&mut self) -> &mut [T]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
pub fn sizes(&self) -> &[i32]
pub fn iter(&'a self) -> ArrayIter<'a, T>ⓘNotable traits for ArrayIter<'a, T>impl<'a, T> Iterator for ArrayIter<'a, T> type Item = &'a [T];
pub fn iter_mut(&'a mut self) -> ArrayIterMut<'a, T>ⓘNotable traits for ArrayIterMut<'a, T>impl<'a, T> Iterator for ArrayIterMut<'a, T> type Item = &'a mut [T];
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for DataArray<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for DataArray<'a, T>where
T: Send + Sync,
impl<'a, T> Sync for DataArray<'a, T>where
T: Sync,
impl<'a, T> Unpin for DataArray<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for DataArray<'a, T>where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more