extendr_api::prelude::modules::core::zip

Trait ViewMut

pub trait ViewMut {
    type Target<'a>
       where Self: 'a;

    // Required method
    fn view_mut(&mut self) -> Self::Target<'_>;
}
Expand description

Type that can be converted to a view.

Required Associated Types§

type Target<'a> where Self: 'a

View type.

Required Methods§

fn view_mut(&mut self) -> Self::Target<'_>

Returns the view over self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<E> ViewMut for &Col<E>
where E: Entity,

§

type Target<'a> = ColRef<'a, E> where &Col<E>: 'a

§

impl<E> ViewMut for &ColMut<'_, E>
where E: Entity,

§

type Target<'a> = ColRef<'a, E> where &ColMut<'_, E>: 'a

§

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

§

type Target<'a> = ColRef<'a, E> where &ColRef<'_, E>: 'a

§

impl<E> ViewMut for &Mat<E>
where E: Entity,

§

type Target<'a> = MatRef<'a, E> where &Mat<E>: 'a

§

impl<E> ViewMut for &MatMut<'_, E>
where E: Entity,

§

type Target<'a> = MatRef<'a, E> where &MatMut<'_, E>: 'a

§

impl<E> ViewMut for &MatRef<'_, E>
where E: Entity,

§

type Target<'a> = MatRef<'a, E> where &MatRef<'_, E>: 'a

§

impl<E> ViewMut for &Row<E>
where E: Entity,

§

type Target<'a> = RowRef<'a, E> where &Row<E>: 'a

§

impl<E> ViewMut for &RowMut<'_, E>
where E: Entity,

§

type Target<'a> = RowRef<'a, E> where &RowMut<'_, E>: 'a

§

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

§

type Target<'a> = RowRef<'a, E> where &RowRef<'_, E>: 'a

§

impl<E> ViewMut for &mut Col<E>
where E: Entity,

§

type Target<'a> = ColMut<'a, E> where &mut Col<E>: 'a

§

impl<E> ViewMut for &mut ColMut<'_, E>
where E: Entity,

§

type Target<'a> = ColMut<'a, E> where &mut ColMut<'_, E>: 'a

§

impl<E> ViewMut for &mut ColRef<'_, E>
where E: Entity,

§

type Target<'a> = ColRef<'a, E> where &mut ColRef<'_, E>: 'a

§

impl<E> ViewMut for &mut Mat<E>
where E: Entity,

§

type Target<'a> = MatMut<'a, E> where &mut Mat<E>: 'a

§

impl<E> ViewMut for &mut MatMut<'_, E>
where E: Entity,

§

type Target<'a> = MatMut<'a, E> where &mut MatMut<'_, E>: 'a

§

impl<E> ViewMut for &mut MatRef<'_, E>
where E: Entity,

§

type Target<'a> = MatRef<'a, E> where &mut MatRef<'_, E>: 'a

§

impl<E> ViewMut for &mut Row<E>
where E: Entity,

§

type Target<'a> = RowMut<'a, E> where &mut Row<E>: 'a

§

impl<E> ViewMut for &mut RowMut<'_, E>
where E: Entity,

§

type Target<'a> = RowMut<'a, E> where &mut RowMut<'_, E>: 'a

§

impl<E> ViewMut for &mut RowRef<'_, E>
where E: Entity,

§

type Target<'a> = RowRef<'a, E> where &mut RowRef<'_, E>: 'a

§

impl<E> ViewMut for Col<E>
where E: Entity,

§

type Target<'a> = ColRef<'a, E> where Col<E>: 'a

§

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

§

type Target<'a> = ColMut<'a, E> where ColMut<'_, E>: 'a

§

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

§

type Target<'a> = ColRef<'a, E> where ColRef<'_, E>: 'a

§

impl<E> ViewMut for Mat<E>
where E: Entity,

§

type Target<'a> = MatRef<'a, E> where Mat<E>: 'a

§

impl<E> ViewMut for MatMut<'_, E>
where E: Entity,

§

type Target<'a> = MatMut<'a, E> where MatMut<'_, E>: 'a

§

impl<E> ViewMut for MatRef<'_, E>
where E: Entity,

§

type Target<'a> = MatRef<'a, E> where MatRef<'_, E>: 'a

§

impl<E> ViewMut for Row<E>
where E: Entity,

§

type Target<'a> = RowRef<'a, E> where Row<E>: 'a

§

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

§

type Target<'a> = RowMut<'a, E> where RowMut<'_, E>: 'a

§

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

§

type Target<'a> = RowRef<'a, E> where RowRef<'_, E>: 'a