Trait extendr_api::prelude::reborrow::IntoConst

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§

type Target

Required Methods§

fn into_const(self) -> Self::Target

Implementations on Foreign Types§

§

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

§

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

§

impl<'a, T, S, Mask> IntoConst for PrefixMut<'a, T, S, Mask>
where S: Simd, Mask: Copy,

§

type Target = Prefix<'a, T, S, Mask>

§

fn into_const(self) -> <PrefixMut<'a, T, S, Mask> as IntoConst>::Target

§

impl<'a, T, S, Mask> IntoConst for SuffixMut<'a, T, S, Mask>
where S: Simd, Mask: Copy,

§

type Target = Suffix<'a, T, S, Mask>

§

fn into_const(self) -> <SuffixMut<'a, T, S, Mask> as IntoConst>::Target

§

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

§

type Target = Option<<T as IntoConst>::Target>

§

fn into_const(self) -> <Option<T> as IntoConst>::Target

Implementors§

§

impl<'a, E> IntoConst for DiagMut<'a, E>
where E: Entity,

§

type Target = DiagRef<'a, E>

§

impl<'a, E> IntoConst for ColMut<'a, E>
where E: Entity,

§

type Target = ColRef<'a, E>

§

impl<'a, E> IntoConst for extendr_api::prelude::MatMut<'a, E>
where E: Entity,

§

type Target = MatRef<'a, E>

§

impl<'a, E> IntoConst for RowMut<'a, E>
where E: Entity,

§

type Target = RowRef<'a, E>

§

impl<'a, E, T> IntoConst for RefGroup<'a, E, T>
where E: Entity,

§

type Target = RefGroup<'a, E, T>

§

impl<'a, E, T> IntoConst for RefGroupMut<'a, E, T>
where E: Entity,

§

type Target = RefGroup<'a, E, T>

§

impl<'a, E, T> IntoConst for SliceGroup<'a, E, T>
where E: Entity,

§

type Target = SliceGroup<'a, E, T>

§

impl<'a, E, T> IntoConst for SliceGroupMut<'a, E, T>
where E: Entity,

§

type Target = SliceGroup<'a, E, T>

§

impl<'a, I> IntoConst for PermRef<'a, I>
where I: Index,

§

type Target = PermRef<'a, I>

§

impl<'a, I> IntoConst for SymbolicSparseColMatRef<'a, I>
where I: Index,

§

impl<'a, I> IntoConst for SymbolicSparseRowMatRef<'a, I>
where I: Index,

§

impl<'a, I, E> IntoConst for extendr_api::prelude::sparse::SparseColMatMut<'a, I, E>
where I: Index, E: Entity,

§

type Target = SparseColMatRef<'a, I, E>

§

impl<'a, I, E> IntoConst for extendr_api::prelude::sparse::SparseColMatRef<'a, I, E>
where I: Index, E: Entity,

§

type Target = SparseColMatRef<'a, I, E>

§

impl<'a, I, E> IntoConst for SparseRowMatMut<'a, I, E>
where I: Index, E: Entity,

§

type Target = SparseRowMatRef<'a, I, E>

§

impl<'a, I, E> IntoConst for SparseRowMatRef<'a, I, E>
where I: Index, E: Entity,

§

type Target = SparseRowMatRef<'a, I, E>

§

impl<'nrows, 'ncols, 'a, E> IntoConst for extendr_api::prelude::utils::constrained::mat::MatMut<'nrows, 'ncols, 'a, E>
where E: Entity,

§

type Target = MatRef<'nrows, 'ncols, 'a, E>

§

impl<'nrows, 'ncols, 'a, E> IntoConst for extendr_api::prelude::utils::constrained::mat::MatRef<'nrows, 'ncols, 'a, E>
where E: Entity,

§

type Target = MatRef<'nrows, 'ncols, 'a, E>

§

impl<'nrows, 'ncols, 'a, I, E> IntoConst for extendr_api::prelude::utils::constrained::sparse::SparseColMatMut<'nrows, 'ncols, 'a, I, E>
where I: Index, E: Entity,

§

type Target = SparseColMatRef<'nrows, 'ncols, 'a, I, E>

§

impl<'nrows, 'ncols, 'a, I, E> IntoConst for extendr_api::prelude::utils::constrained::sparse::SparseColMatRef<'nrows, 'ncols, 'a, I, E>
where I: Index, E: Entity,

§

type Target = SparseColMatRef<'nrows, 'ncols, 'a, I, E>

§

impl<E> IntoConst for DiagRef<'_, E>
where E: Entity,

§

type Target = DiagRef<'_, E>

§

impl<E> IntoConst for ColRef<'_, E>
where E: Entity,

§

type Target = ColRef<'_, E>

§

impl<E> IntoConst for extendr_api::prelude::MatRef<'_, E>
where E: Entity,

§

type Target = MatRef<'_, E>

§

impl<E> IntoConst for RowRef<'_, E>
where E: Entity,

§

type Target = RowRef<'_, E>