pub struct PooledArray2 { /* private fields */ }Expand description
Pooled 2D array
Implementations§
Source§impl PooledArray2
impl PooledArray2
Sourcepub fn view_mut(&mut self) -> MemoryPoolResult<ArrayViewMut2<'_, f64>>
pub fn view_mut(&mut self) -> MemoryPoolResult<ArrayViewMut2<'_, f64>>
Get mutable array view
Sourcepub fn to_array(self) -> MemoryPoolResult<Array2<f64>>
pub fn to_array(self) -> MemoryPoolResult<Array2<f64>>
Convert to owned Array2
Auto Trait Implementations§
impl Freeze for PooledArray2
impl RefUnwindSafe for PooledArray2
impl Send for PooledArray2
impl Sync for PooledArray2
impl Unpin for PooledArray2
impl UnsafeUnpin for PooledArray2
impl UnwindSafe for PooledArray2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more