pub struct NalgebraVecMut<'a, T: NalgebraScalar> { /* private fields */ }Trait Implementations§
Source§impl<T: Scalar + NalgebraScalar> AddAssign<&NalgebraVec<T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> AddAssign<&NalgebraVec<T>> for NalgebraVecMut<'_, T>
Source§fn add_assign(&mut self, rhs: &NalgebraVec<T>)
fn add_assign(&mut self, rhs: &NalgebraVec<T>)
Performs the
+= operation. Read moreSource§impl<T: Scalar + NalgebraScalar> AddAssign<&NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> AddAssign<&NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
Source§fn add_assign(&mut self, rhs: &NalgebraVecRef<'_, T>)
fn add_assign(&mut self, rhs: &NalgebraVecRef<'_, T>)
Performs the
+= operation. Read moreSource§impl<T: Scalar + NalgebraScalar> AddAssign<NalgebraVec<T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> AddAssign<NalgebraVec<T>> for NalgebraVecMut<'_, T>
Source§fn add_assign(&mut self, rhs: NalgebraVec<T>)
fn add_assign(&mut self, rhs: NalgebraVec<T>)
Performs the
+= operation. Read moreSource§impl<T: Scalar + NalgebraScalar> AddAssign<NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> AddAssign<NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
Source§fn add_assign(&mut self, rhs: NalgebraVecRef<'_, T>)
fn add_assign(&mut self, rhs: NalgebraVecRef<'_, T>)
Performs the
+= operation. Read moreSource§impl<'a, T: Debug + NalgebraScalar> Debug for NalgebraVecMut<'a, T>
impl<'a, T: Debug + NalgebraScalar> Debug for NalgebraVecMut<'a, T>
Source§impl<T: NalgebraScalar> Mul<Scale<T>> for NalgebraVecMut<'_, T>
impl<T: NalgebraScalar> Mul<Scale<T>> for NalgebraVecMut<'_, T>
Source§impl<'a, T: NalgebraScalar> MulAssign<Scale<T>> for NalgebraVecMut<'a, T>
impl<'a, T: NalgebraScalar> MulAssign<Scale<T>> for NalgebraVecMut<'a, T>
Source§fn mul_assign(&mut self, rhs: Scale<T>)
fn mul_assign(&mut self, rhs: Scale<T>)
Performs the
*= operation. Read moreSource§impl<'a, T: PartialEq + NalgebraScalar> PartialEq for NalgebraVecMut<'a, T>
impl<'a, T: PartialEq + NalgebraScalar> PartialEq for NalgebraVecMut<'a, T>
Source§fn eq(&self, other: &NalgebraVecMut<'a, T>) -> bool
fn eq(&self, other: &NalgebraVecMut<'a, T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a, T: PartialEq + NalgebraScalar> StructuralPartialEq for NalgebraVecMut<'a, T>
Source§impl<T: Scalar + NalgebraScalar> SubAssign<&NalgebraVec<T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> SubAssign<&NalgebraVec<T>> for NalgebraVecMut<'_, T>
Source§fn sub_assign(&mut self, rhs: &NalgebraVec<T>)
fn sub_assign(&mut self, rhs: &NalgebraVec<T>)
Performs the
-= operation. Read moreSource§impl<T: Scalar + NalgebraScalar> SubAssign<&NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> SubAssign<&NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
Source§fn sub_assign(&mut self, rhs: &NalgebraVecRef<'_, T>)
fn sub_assign(&mut self, rhs: &NalgebraVecRef<'_, T>)
Performs the
-= operation. Read moreSource§impl<T: Scalar + NalgebraScalar> SubAssign<NalgebraVec<T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> SubAssign<NalgebraVec<T>> for NalgebraVecMut<'_, T>
Source§fn sub_assign(&mut self, rhs: NalgebraVec<T>)
fn sub_assign(&mut self, rhs: NalgebraVec<T>)
Performs the
-= operation. Read moreSource§impl<T: Scalar + NalgebraScalar> SubAssign<NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
impl<T: Scalar + NalgebraScalar> SubAssign<NalgebraVecRef<'_, T>> for NalgebraVecMut<'_, T>
Source§fn sub_assign(&mut self, rhs: NalgebraVecRef<'_, T>)
fn sub_assign(&mut self, rhs: NalgebraVecRef<'_, T>)
Performs the
-= operation. Read moreSource§impl<'a, T: Scalar + NalgebraScalar> VectorCommon for NalgebraVecMut<'a, T>
impl<'a, T: Scalar + NalgebraScalar> VectorCommon for NalgebraVecMut<'a, T>
Source§impl<'a, T: NalgebraScalar> VectorViewMut<'a> for NalgebraVecMut<'a, T>
impl<'a, T: NalgebraScalar> VectorViewMut<'a> for NalgebraVecMut<'a, T>
type Owned = NalgebraVec<T>
type View = NalgebraVecRef<'a, T>
type Index = NalgebraIndex
Source§fn copy_from_view(&mut self, other: &Self::View)
fn copy_from_view(&mut self, other: &Self::View)
Copy values from another vector view into this view.
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for NalgebraVecMut<'a, T>
impl<'a, T> Freeze for NalgebraVecMut<'a, T>
impl<'a, T> RefUnwindSafe for NalgebraVecMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for NalgebraVecMut<'a, T>
impl<'a, T> Sync for NalgebraVecMut<'a, T>
impl<'a, T> Unpin for NalgebraVecMut<'a, T>where
T: Unpin,
impl<'a, T> UnsafeUnpin for NalgebraVecMut<'a, T>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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>
Converts
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>
Converts
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.