pub struct SubAssign1DRV<T, MatA, MatB, IxVec> {
pub source: Ref<MatB>,
pub ixes: Ref<IxVec>,
pub sink: Ref<MatA>,
pub _marker: PhantomData<T>,
}Fields§
§source: Ref<MatB>§ixes: Ref<IxVec>§sink: Ref<MatA>§_marker: PhantomData<T>Trait Implementations§
Source§impl<T: Debug, MatA: Debug, MatB: Debug, IxVec: Debug> Debug for SubAssign1DRV<T, MatA, MatB, IxVec>
impl<T: Debug, MatA: Debug, MatB: Debug, IxVec: Debug> Debug for SubAssign1DRV<T, MatA, MatB, IxVec>
Source§impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionCompiler for SubAssign1DRV<T, naMatrix<T, R1, C1, S1>, naMatrix<T, R2, C2, S2>, IxVec>where
T: CompileConst + ConstElem + AsValueKind,
IxVec: CompileConst + ConstElem + AsNaKind,
naMatrix<T, R1, C1, S1>: CompileConst + ConstElem + AsNaKind,
naMatrix<T, R2, C2, S2>: CompileConst + ConstElem + AsNaKind,
Available on crate feature compiler only.
impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionCompiler for SubAssign1DRV<T, naMatrix<T, R1, C1, S1>, naMatrix<T, R2, C2, S2>, IxVec>where
T: CompileConst + ConstElem + AsValueKind,
IxVec: CompileConst + ConstElem + AsNaKind,
naMatrix<T, R1, C1, S1>: CompileConst + ConstElem + AsNaKind,
naMatrix<T, R2, C2, S2>: CompileConst + ConstElem + AsNaKind,
Available on crate feature
compiler only.Source§impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionFactory for SubAssign1DRV<T, naMatrix<T, R1, C1, S1>, naMatrix<T, R2, C2, S2>, IxVec>where
Ref<naMatrix<T, R1, C1, S1>>: ToValue,
Ref<naMatrix<T, R2, C2, S2>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd + CompileConst + ConstElem + AsValueKind,
IxVec: CompileConst + ConstElem + AsNaKind + Debug + AsRef<[usize]> + 'static,
R1: Dim + 'static,
C1: Dim + 'static,
S1: StorageMut<T, R1, C1> + Clone + Debug + 'static,
R2: Dim + 'static,
C2: Dim + 'static,
S2: Storage<T, R2, C2> + Clone + Debug + 'static,
naMatrix<T, R1, C1, S1>: CompileConst + ConstElem + Debug + AsNaKind,
naMatrix<T, R2, C2, S2>: CompileConst + ConstElem + Debug + AsNaKind,
impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionFactory for SubAssign1DRV<T, naMatrix<T, R1, C1, S1>, naMatrix<T, R2, C2, S2>, IxVec>where
Ref<naMatrix<T, R1, C1, S1>>: ToValue,
Ref<naMatrix<T, R2, C2, S2>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd + CompileConst + ConstElem + AsValueKind,
IxVec: CompileConst + ConstElem + AsNaKind + Debug + AsRef<[usize]> + 'static,
R1: Dim + 'static,
C1: Dim + 'static,
S1: StorageMut<T, R1, C1> + Clone + Debug + 'static,
R2: Dim + 'static,
C2: Dim + 'static,
S2: Storage<T, R2, C2> + Clone + Debug + 'static,
naMatrix<T, R1, C1, S1>: CompileConst + ConstElem + Debug + AsNaKind,
naMatrix<T, R2, C2, S2>: CompileConst + ConstElem + Debug + AsNaKind,
fn new(args: FunctionArgs) -> MResult<Box<dyn MechFunction>>
Source§impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionImpl for SubAssign1DRV<T, naMatrix<T, R1, C1, S1>, naMatrix<T, R2, C2, S2>, IxVec>where
Ref<naMatrix<T, R1, C1, S1>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd,
IxVec: AsRef<[usize]> + Debug,
R1: Dim,
C1: Dim,
S1: StorageMut<T, R1, C1> + Clone + Debug,
R2: Dim,
C2: Dim,
S2: Storage<T, R2, C2> + Clone + Debug,
impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionImpl for SubAssign1DRV<T, naMatrix<T, R1, C1, S1>, naMatrix<T, R2, C2, S2>, IxVec>where
Ref<naMatrix<T, R1, C1, S1>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd,
IxVec: AsRef<[usize]> + Debug,
R1: Dim,
C1: Dim,
S1: StorageMut<T, R1, C1> + Clone + Debug,
R2: Dim,
C2: Dim,
S2: Storage<T, R2, C2> + Clone + Debug,
Auto Trait Implementations§
impl<T, MatA, MatB, IxVec> Freeze for SubAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> !RefUnwindSafe for SubAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> !Send for SubAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> !Sync for SubAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> Unpin for SubAssign1DRV<T, MatA, MatB, IxVec>where
T: Unpin,
impl<T, MatA, MatB, IxVec> !UnwindSafe for SubAssign1DRV<T, MatA, MatB, IxVec>
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
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§fn 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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.