Struct DMatrixParAccessMut

Source
pub struct DMatrixParAccessMut<'a, T> { /* private fields */ }

Implementations§

Source§

impl<'a, T> DMatrixParAccessMut<'a, T>

Source

pub fn from_matrix_mut(matrix: &'a mut DMatrix<T>) -> Self

Trait Implementations§

Source§

impl<'a, T: Scalar + Send> BoundedParAccess<(usize, usize)> for DMatrixParAccessMut<'a, T>

Source§

fn bounds(&self) -> Bounds<(usize, usize)>

The bounds of this data structure. Read more
Source§

fn in_bounds(&self, (i, j): (usize, usize)) -> bool

Determine if the provided index is in bounds. Read more
Source§

unsafe fn get_unsync(&self, index: Index) -> Self::Record
where Index: RecordIndex,

Unsynchronized mutable lookup of record. Read more
Source§

impl<'a, T: Scalar + Send> ParAccess<(usize, usize)> for DMatrixParAccessMut<'a, T>

Source§

type Record = &'a mut T

A record (element) in the underlying collection.
Source§

unsafe fn clone_access(&self) -> Self

Clones this access. Read more
Source§

unsafe fn get_unsync_unchecked(&self, (i, j): (usize, usize)) -> Self::Record

Unsynchronized lookup of record without bounds checks. Read more
Source§

impl<'a, T> Send for DMatrixParAccessMut<'a, T>

Source§

impl<'a, T> Sync for DMatrixParAccessMut<'a, T>

Auto Trait Implementations§

§

impl<'a, T> Freeze for DMatrixParAccessMut<'a, T>

§

impl<'a, T> RefUnwindSafe for DMatrixParAccessMut<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> Unpin for DMatrixParAccessMut<'a, T>

§

impl<'a, T> UnwindSafe for DMatrixParAccessMut<'a, T>
where T: RefUnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<Index, Access> IntoParAccess<Index> for Access
where Index: Copy, Access: BoundedParAccess<Index>,

Source§

type Access = Access

The access type obtained through this trait.
Source§

fn into_par_access(self) -> <Access as IntoParAccess<Index>>::Access

Obtain parallel access to this collection.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

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

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.