Enum rest_tensors::matrix::submatrixfull::SubMatrixFull
source · [−]pub enum SubMatrixFull<'a, T> {
Contiguous(MatrixFullSlice<'a, T>),
Detached(MatrixFull<&'a T>),
}
Variants
Contiguous(MatrixFullSlice<'a, T>)
Detached(MatrixFull<&'a T>)
Implementations
sourceimpl<'a, T: Copy + Clone> SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone> SubMatrixFull<'a, T>
Trait Implementations
sourceimpl<'a, T: Copy + Clone + Add + AddAssign> Add<MatrixFull<T>> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Add + AddAssign> Add<MatrixFull<T>> for SubMatrixFull<'a, T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
+
operator.sourcefn add(self, other: MatrixFull<T>) -> MatrixFull<T>
fn add(self, other: MatrixFull<T>) -> MatrixFull<T>
Performs the
+
operation. Read moresourceimpl<'a, T: Copy + Clone + Add + AddAssign> Add<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Add + AddAssign> Add<SubMatrixFull<'a, T>> for MatrixFull<T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
+
operator.sourcefn add(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
fn add(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
Performs the
+
operation. Read moresourceimpl<'a, T: Copy + Clone + Add + AddAssign> Add<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Add + AddAssign> Add<T> for SubMatrixFull<'a, T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
+
operator.sourcefn add(self, factor: T) -> MatrixFull<T>
fn add(self, factor: T) -> MatrixFull<T>
Performs the
+
operation. Read moresourceimpl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
sourcefn add_assign(&mut self, other: SubMatrixFull<'_, T>)
fn add_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
+=
operation. Read moresourceimpl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
impl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
sourcefn add_assign(&mut self, other: SubMatrixFull<'_, T>)
fn add_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
+=
operation. Read moresourceimpl<'a, T: Copy + Clone> BasicMatrix<'a, T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone> BasicMatrix<'a, T> for SubMatrixFull<'a, T>
sourceimpl<'a, T> BasicMatrixOpt<'a, T> for SubMatrixFull<'a, T>where
T: Copy + Clone,
impl<'a, T> BasicMatrixOpt<'a, T> for SubMatrixFull<'a, T>where
T: Copy + Clone,
fn to_matrixfull(&self) -> Option<MatrixFull<T>>where
T: Copy + Clone,
sourceimpl<'a, T: Copy + Clone + Div + DivAssign> Div<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Div + DivAssign> Div<T> for SubMatrixFull<'a, T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
/
operator.sourcefn div(self, f: T) -> MatrixFull<T>
fn div(self, f: T) -> MatrixFull<T>
Performs the
/
operation. Read moresourceimpl<'a, T: Copy + Clone + Mul + MulAssign> Mul<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Mul + MulAssign> Mul<T> for SubMatrixFull<'a, T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
*
operator.sourcefn mul(self, f: T) -> MatrixFull<T>
fn mul(self, f: T) -> MatrixFull<T>
Performs the
*
operation. Read moresourceimpl<'a, T: Copy + Clone + Sub<Output = T> + SubAssign> Sub<MatrixFull<T>> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Sub<Output = T> + SubAssign> Sub<MatrixFull<T>> for SubMatrixFull<'a, T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
-
operator.sourcefn sub(self, other: MatrixFull<T>) -> MatrixFull<T>
fn sub(self, other: MatrixFull<T>) -> MatrixFull<T>
Performs the
-
operation. Read moresourceimpl<'a, T: Copy + Clone + Sub + SubAssign> Sub<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Sub + SubAssign> Sub<SubMatrixFull<'a, T>> for MatrixFull<T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
-
operator.sourcefn sub(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
fn sub(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
Performs the
-
operation. Read moresourceimpl<'a, T: Copy + Clone + Sub + SubAssign> Sub<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Sub + SubAssign> Sub<T> for SubMatrixFull<'a, T>
type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
-
operator.sourcefn sub(self, f: T) -> MatrixFull<T>
fn sub(self, f: T) -> MatrixFull<T>
Performs the
-
operation. Read moresourceimpl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
sourcefn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
fn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
-=
operation. Read moresourceimpl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
impl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
sourcefn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
fn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
-=
operation. Read moreimpl<'a, T> MathMatrix<'a, T> for SubMatrixFull<'a, T>where
T: Copy + Clone,
impl<'a, T> ParMathMatrix<'a, T> for SubMatrixFull<'a, T>where
T: Copy + Clone + Send + Sync,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for SubMatrixFull<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SubMatrixFull<'a, T>where
T: Sync,
impl<'a, T> Sync for SubMatrixFull<'a, T>where
T: Sync,
impl<'a, T> Unpin for SubMatrixFull<'a, T>
impl<'a, T> UnwindSafe for SubMatrixFull<'a, T>where
T: 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
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.