Struct feanor_math::matrix::TransposableSubmatrixMut  
source · pub struct TransposableSubmatrixMut<'a, V: AsPointerToSlice<T>, T, const TRANSPOSED: bool> { /* private fields */ }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 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
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