pub struct TransposableSubmatrixMut<'a, V: AsPointerToSlice<T>, T, const TRANSPOSED: bool> { /* private fields */ }
unstable-enable
only.Expand description
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Implementations§
Source§impl<'a, V: AsPointerToSlice<T>, T> TransposableSubmatrixMut<'a, V, T, false>
impl<'a, V: AsPointerToSlice<T>, T> TransposableSubmatrixMut<'a, V, T, false>
Sourcepub fn transpose(self) -> TransposableSubmatrixMut<'a, V, T, true>
pub fn transpose(self) -> TransposableSubmatrixMut<'a, V, T, true>
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Source§impl<'a, V: AsPointerToSlice<T>, T> TransposableSubmatrixMut<'a, V, T, true>
impl<'a, V: AsPointerToSlice<T>, T> TransposableSubmatrixMut<'a, V, T, true>
Sourcepub fn transpose(self) -> TransposableSubmatrixMut<'a, V, T, false>
pub fn transpose(self) -> TransposableSubmatrixMut<'a, V, T, false>
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Source§impl<'a, V: AsPointerToSlice<T>, T, const TRANSPOSED: bool> TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
impl<'a, V: AsPointerToSlice<T>, T, const TRANSPOSED: bool> TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
Sourcepub fn into_base(self) -> SubmatrixMut<'a, V, T>
pub fn into_base(self) -> SubmatrixMut<'a, V, T>
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn into_base_transposed(self) -> SubmatrixMut<'a, V, T>
pub fn into_base_transposed(self) -> SubmatrixMut<'a, V, T>
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn submatrix(self, rows: Range<usize>, cols: Range<usize>) -> Self
pub fn submatrix(self, rows: Range<usize>, cols: Range<usize>) -> Self
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn restrict_rows(self, rows: Range<usize>) -> Self
pub fn restrict_rows(self, rows: Range<usize>) -> Self
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn at<'b>(&'b self, i: usize, j: usize) -> &'b T
pub fn at<'b>(&'b self, i: usize, j: usize) -> &'b T
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn restrict_cols(self, cols: Range<usize>) -> Self
pub fn restrict_cols(self, cols: Range<usize>) -> Self
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn col_count(&self) -> usize
pub fn col_count(&self) -> usize
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn row_count(&self) -> usize
pub fn row_count(&self) -> usize
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn split_rows(
self,
fst_rows: Range<usize>,
snd_rows: Range<usize>,
) -> (Self, Self)
pub fn split_rows( self, fst_rows: Range<usize>, snd_rows: Range<usize>, ) -> (Self, Self)
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn split_cols(
self,
fst_cols: Range<usize>,
snd_cols: Range<usize>,
) -> (Self, Self)
pub fn split_cols( self, fst_cols: Range<usize>, snd_cols: Range<usize>, ) -> (Self, Self)
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn at_mut<'b>(&'b mut self, i: usize, j: usize) -> &'b mut T
pub fn at_mut<'b>(&'b mut self, i: usize, j: usize) -> &'b mut T
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn into_at_mut(self, i: usize, j: usize) -> &'a mut T
pub fn into_at_mut(self, i: usize, j: usize) -> &'a mut T
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn reborrow<'b>(
&'b mut self,
) -> TransposableSubmatrixMut<'b, V, T, TRANSPOSED>
pub fn reborrow<'b>( &'b mut self, ) -> TransposableSubmatrixMut<'b, V, T, TRANSPOSED>
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn as_const<'b>(&'b self) -> TransposableSubmatrix<'b, V, T, TRANSPOSED>
pub fn as_const<'b>(&'b self) -> TransposableSubmatrix<'b, V, T, TRANSPOSED>
§Availability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Trait Implementations§
Source§impl<'a, V: AsPointerToSlice<T>, T> From<SubmatrixMut<'a, V, T>> for TransposableSubmatrixMut<'a, V, T, false>
impl<'a, V: AsPointerToSlice<T>, T> From<SubmatrixMut<'a, V, T>> for TransposableSubmatrixMut<'a, V, T, false>
Source§fn from(value: SubmatrixMut<'a, V, T>) -> Self
fn from(value: SubmatrixMut<'a, V, T>) -> Self
Source§impl<'a, V: AsPointerToSlice<T>, T, const TRANSPOSED: bool> MatrixCompare<T> for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
impl<'a, V: AsPointerToSlice<T>, T, const TRANSPOSED: bool> MatrixCompare<T> for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
Auto Trait Implementations§
impl<'a, V, T, const TRANSPOSED: bool> Freeze for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
impl<'a, V, T, const TRANSPOSED: bool> RefUnwindSafe for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, V, T, const TRANSPOSED: bool> Send for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
impl<'a, V, T, const TRANSPOSED: bool> Sync for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
impl<'a, V, T, const TRANSPOSED: bool> Unpin for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
impl<'a, V, T, const TRANSPOSED: bool> !UnwindSafe for TransposableSubmatrixMut<'a, V, T, TRANSPOSED>
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
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>
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>
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