IntoConst

Trait IntoConst 

Source
pub trait IntoConst {
    type Target;

    // Required method
    fn into_const(self) -> Self::Target;
}
Expand description

Consume a mutable reference to produce an immutable one.

Required Associated Types§

Required Methods§

Source

fn into_const(self) -> Self::Target

Implementations on Foreign Types§

Source§

impl<'a, T> IntoConst for &'a T
where T: ?Sized,

Source§

impl<'a, T> IntoConst for &'a mut T
where T: ?Sized,

Source§

impl<T> IntoConst for Option<T>
where T: IntoConst,

Implementors§

Source§

impl<'a, I, Rows: Copy, Cols: Copy> IntoConst for faer::sparse::csc_symbolic::Ref<'a, I, Rows, Cols>

Source§

type Target = Ref<'a, I, Rows, Cols>

Source§

impl<'a, I, Rows: Copy, Cols: Copy> IntoConst for faer::sparse::csr_symbolic::Ref<'a, I, Rows, Cols>

Source§

type Target = Ref<'a, I, Rows, Cols>

Source§

impl<'a, I, T, Rows: Copy, Cols: Copy> IntoConst for faer::sparse::csc_numeric::Mut<'a, I, T, Rows, Cols>

Source§

type Target = Ref<'a, I, T, Rows, Cols>

Source§

impl<'a, I, T, Rows: Copy, Cols: Copy> IntoConst for faer::sparse::csc_numeric::Ref<'a, I, T, Rows, Cols>

Source§

type Target = Ref<'a, I, T, Rows, Cols>

Source§

impl<'a, I, T, Rows: Copy, Cols: Copy> IntoConst for faer::sparse::csr_numeric::Mut<'a, I, T, Rows, Cols>

Source§

type Target = Ref<'a, I, T, Rows, Cols>

Source§

impl<'a, I, T, Rows: Copy, Cols: Copy> IntoConst for faer::sparse::csr_numeric::Ref<'a, I, T, Rows, Cols>

Source§

type Target = Ref<'a, I, T, Rows, Cols>

Source§

impl<'a, I: Index, N: Shape> IntoConst for faer::perm::Ref<'a, I, N>

Source§

type Target = Ref<'a, I, N>

Source§

impl<'a, T, Dim: Copy, Stride: Copy> IntoConst for faer::diag::Ref<'a, T, Dim, Stride>

Source§

type Target = Ref<'a, T, Dim, Stride>

Source§

impl<'a, T, N: Copy, Stride: Copy> IntoConst for faer::diag::Mut<'a, T, N, Stride>

Source§

type Target = Ref<'a, T, N, Stride>

Source§

impl<'a, T, Rows: Copy, CStride: Copy> IntoConst for faer::row::Ref<'a, T, Rows, CStride>

Source§

type Target = Ref<'a, T, Rows, CStride>

Source§

impl<'a, T, Rows: Copy, Cols: Copy, RStride: Copy, CStride: Copy> IntoConst for faer::mat::Mut<'a, T, Rows, Cols, RStride, CStride>

Source§

type Target = Ref<'a, T, Rows, Cols, RStride, CStride>

Source§

impl<'a, T, Rows: Copy, Cols: Copy, RStride: Copy, CStride: Copy> IntoConst for faer::mat::Ref<'a, T, Rows, Cols, RStride, CStride>

Source§

type Target = Ref<'a, T, Rows, Cols, RStride, CStride>

Source§

impl<'a, T, Rows: Copy, RStride: Copy> IntoConst for faer::col::Mut<'a, T, Rows, RStride>

Source§

type Target = Ref<'a, T, Rows, RStride>

Source§

impl<'a, T, Rows: Copy, RStride: Copy> IntoConst for faer::col::Ref<'a, T, Rows, RStride>

Source§

type Target = Ref<'a, T, Rows, RStride>

Source§

impl<'a, T, Rows: Copy, RStride: Copy> IntoConst for faer::row::Mut<'a, T, Rows, RStride>

Source§

type Target = Ref<'a, T, Rows, RStride>

Source§

impl<Inner: IntoConst> IntoConst for Col<Inner>

Source§

type Target = Col<<Inner as IntoConst>::Target>

Source§

impl<Inner: IntoConst> IntoConst for Diag<Inner>

Source§

type Target = Diag<<Inner as IntoConst>::Target>

Source§

impl<Inner: IntoConst> IntoConst for Mat<Inner>

Source§

type Target = Mat<<Inner as IntoConst>::Target>

Source§

impl<Inner: IntoConst> IntoConst for Perm<Inner>

Source§

type Target = Perm<<Inner as IntoConst>::Target>

Source§

impl<Inner: IntoConst> IntoConst for Row<Inner>

Source§

type Target = Row<<Inner as IntoConst>::Target>

Source§

impl<Inner: IntoConst> IntoConst for SparseColMat<Inner>

Source§

impl<Inner: IntoConst> IntoConst for SymbolicSparseColMat<Inner>

Source§

impl<Inner: IntoConst> IntoConst for SparseRowMat<Inner>

Source§

impl<Inner: IntoConst> IntoConst for SymbolicSparseRowMat<Inner>