pub struct AddAssignVV<T, MatA, MatB> {
pub sink: Ref<MatA>,
pub source: Ref<MatB>,
/* private fields */
}Fields§
§sink: Ref<MatA>§source: Ref<MatB>Trait Implementations§
Source§impl<T, MatA, MatB> MechFunctionCompiler for AddAssignVV<T, MatA, MatB>where
T: CompileConst + ConstElem + AsValueKind,
MatA: CompileConst + ConstElem + AsValueKind,
MatB: CompileConst + ConstElem + AsValueKind,
Available on crate feature compiler only.
impl<T, MatA, MatB> MechFunctionCompiler for AddAssignVV<T, MatA, MatB>where
T: CompileConst + ConstElem + AsValueKind,
MatA: CompileConst + ConstElem + AsValueKind,
MatB: CompileConst + ConstElem + AsValueKind,
Available on crate feature
compiler only.Source§impl<T, MatA, MatB> MechFunctionFactory for AddAssignVV<T, MatA, MatB>where
Ref<MatA>: ToValue,
T: Debug + Clone + Sync + Send + 'static + AddAssign + CompileConst + ConstElem + AsValueKind,
for<'a> &'a MatA: IntoIterator<Item = &'a T>,
for<'a> &'a mut MatA: IntoIterator<Item = &'a mut T>,
for<'a> &'a MatB: IntoIterator<Item = &'a T>,
MatA: Debug + CompileConst + ConstElem + AsValueKind + 'static,
MatB: Debug + CompileConst + ConstElem + AsValueKind + 'static,
impl<T, MatA, MatB> MechFunctionFactory for AddAssignVV<T, MatA, MatB>where
Ref<MatA>: ToValue,
T: Debug + Clone + Sync + Send + 'static + AddAssign + CompileConst + ConstElem + AsValueKind,
for<'a> &'a MatA: IntoIterator<Item = &'a T>,
for<'a> &'a mut MatA: IntoIterator<Item = &'a mut T>,
for<'a> &'a MatB: IntoIterator<Item = &'a T>,
MatA: Debug + CompileConst + ConstElem + AsValueKind + 'static,
MatB: Debug + CompileConst + ConstElem + AsValueKind + 'static,
fn new(args: FunctionArgs) -> MResult<Box<dyn MechFunction>>
Source§impl<T, MatA, MatB> MechFunctionImpl for AddAssignVV<T, MatA, MatB>where
Ref<MatA>: ToValue,
T: Debug + Clone + Sync + Send + 'static + AddAssign,
for<'a> &'a MatA: IntoIterator<Item = &'a T>,
for<'a> &'a mut MatA: IntoIterator<Item = &'a mut T>,
for<'a> &'a MatB: IntoIterator<Item = &'a T>,
MatA: Debug,
MatB: Debug,
impl<T, MatA, MatB> MechFunctionImpl for AddAssignVV<T, MatA, MatB>where
Ref<MatA>: ToValue,
T: Debug + Clone + Sync + Send + 'static + AddAssign,
for<'a> &'a MatA: IntoIterator<Item = &'a T>,
for<'a> &'a mut MatA: IntoIterator<Item = &'a mut T>,
for<'a> &'a MatB: IntoIterator<Item = &'a T>,
MatA: Debug,
MatB: Debug,
Auto Trait Implementations§
impl<T, MatA, MatB> Freeze for AddAssignVV<T, MatA, MatB>
impl<T, MatA, MatB> !RefUnwindSafe for AddAssignVV<T, MatA, MatB>
impl<T, MatA, MatB> !Send for AddAssignVV<T, MatA, MatB>
impl<T, MatA, MatB> !Sync for AddAssignVV<T, MatA, MatB>
impl<T, MatA, MatB> Unpin for AddAssignVV<T, MatA, MatB>where
T: Unpin,
impl<T, MatA, MatB> !UnwindSafe for AddAssignVV<T, MatA, MatB>
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.