extendr_api::prelude::reborrow

Trait Reborrow

pub trait Reborrow<'short, _Outlives = &'short Self> {
    type Target;

    // Required method
    fn rb(&'short self) -> Self::Target;
}
Expand description

Immutable reborrowing.

Required Associated Types§

type Target

Required Methods§

fn rb(&'short self) -> Self::Target

Implementations on Foreign Types§

§

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

§

type Target = &'short T

§

fn rb(&'short self) -> <&'a T as Reborrow<'short>>::Target

§

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

§

type Target = &'short T

§

fn rb(&'short self) -> <&'a mut T as Reborrow<'short>>::Target

§

impl<'short, T> Reborrow<'short> for Option<T>
where T: Reborrow<'short>,

§

type Target = Option<<T as Reborrow<'short>>::Target>

§

fn rb(&'short self) -> <Option<T> as Reborrow<'short>>::Target

§

impl<'short, T, S, Mask> Reborrow<'short> for PrefixMut<'_, T, S, Mask>
where S: Simd, Mask: Copy,

§

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

§

fn rb(&'short self) -> <PrefixMut<'_, T, S, Mask> as Reborrow<'short>>::Target

§

impl<'short, T, S, Mask> Reborrow<'short> for SuffixMut<'_, T, S, Mask>
where S: Simd, Mask: Copy,

§

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

§

fn rb(&'short self) -> <SuffixMut<'_, T, S, Mask> as Reborrow<'short>>::Target

Implementors§

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'short, 'n, 'a, E> Reborrow<'short> for ArrayGroup<'n, 'a, E>
where E: Entity,

§

type Target = ArrayGroup<'n, 'short, E>

§

impl<'short, 'n, 'a, E> Reborrow<'short> for ArrayGroupMut<'n, 'a, E>
where E: Entity,

§

type Target = ArrayGroup<'n, 'short, E>

§

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

§

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

§

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

§

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

§

impl<'short, E> Reborrow<'short> for DiagMut<'_, E>
where E: Entity,

§

type Target = DiagRef<'short, E>

§

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

§

type Target = DiagRef<'short, E>

§

impl<'short, E> Reborrow<'short> for ColMut<'_, E>
where E: Entity,

§

type Target = ColRef<'short, E>

§

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

§

type Target = ColRef<'short, E>

§

impl<'short, E> Reborrow<'short> for extendr_api::prelude::MatMut<'_, E>
where E: Entity,

§

type Target = MatRef<'short, E>

§

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

§

type Target = MatRef<'short, E>

§

impl<'short, E> Reborrow<'short> for RowMut<'_, E>
where E: Entity,

§

type Target = RowRef<'short, E>

§

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

§

type Target = RowRef<'short, E>

§

impl<'short, E, S> Reborrow<'short> for Prefix<'_, E, S>
where E: Entity, S: Simd,

§

type Target = Prefix<'short, E, S>

§

impl<'short, E, S> Reborrow<'short> for extendr_api::prelude::utils::simd::PrefixMut<'_, E, S>
where E: Entity, S: Simd,

§

type Target = Prefix<'short, E, S>

§

impl<'short, E, S> Reborrow<'short> for Suffix<'_, E, S>
where E: Entity, S: Simd,

§

type Target = Suffix<'short, E, S>

§

impl<'short, E, S> Reborrow<'short> for extendr_api::prelude::utils::simd::SuffixMut<'_, E, S>
where E: Entity, S: Simd,

§

type Target = Suffix<'short, E, S>

§

impl<'short, I> Reborrow<'short> for PermRef<'_, I>
where I: Index,

§

type Target = PermRef<'short, I>

§

impl<'short, I> Reborrow<'short> for SymbolicSparseColMatRef<'_, I>
where I: Index,

§

impl<'short, I> Reborrow<'short> for SymbolicSparseRowMatRef<'_, I>
where I: Index,

§

impl<'short, I, E> Reborrow<'short> for extendr_api::prelude::sparse::SparseColMatMut<'_, I, E>
where I: Index, E: Entity,

§

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

§

impl<'short, I, E> Reborrow<'short> for extendr_api::prelude::sparse::SparseColMatRef<'_, I, E>
where I: Index, E: Entity,

§

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

§

impl<'short, I, E> Reborrow<'short> for SparseRowMatMut<'_, I, E>
where I: Index, E: Entity,

§

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

§

impl<'short, I, E> Reborrow<'short> for SparseRowMatRef<'_, I, E>
where I: Index, E: Entity,

§

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