Trait faer_core::MatIndex

source ·
pub trait MatIndex<RowRange, ColRange>: Seal + Sized {
    type Target;

    // Required method
    fn get(this: Self, row: RowRange, col: ColRange) -> Self::Target;

    // Provided method
    unsafe fn get_unchecked(
        this: Self,
        row: RowRange,
        col: ColRange
    ) -> Self::Target { ... }
}

Required Associated Types§

Required Methods§

source

fn get(this: Self, row: RowRange, col: ColRange) -> Self::Target

Provided Methods§

source

unsafe fn get_unchecked( this: Self, row: RowRange, col: ColRange ) -> Self::Target

Implementors§

source§

impl<'a, E: Entity> MatIndex<usize, usize> for MatMut<'a, E>

§

type Target = <E as Entity>::Group<&'a mut <E as Entity>::Unit>

source§

impl<'a, E: Entity> MatIndex<usize, usize> for MatRef<'a, E>

§

type Target = <E as Entity>::Group<&'a <E as Entity>::Unit>

source§

impl<E: Entity> MatIndex<usize, Range<usize>> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<usize, Range<usize>> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<Range<usize>, usize> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<Range<usize>, usize> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<Range<usize>, Range<usize>> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<Range<usize>, Range<usize>> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<RangeFull, usize> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<RangeFull, usize> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<RangeFull, Range<usize>> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<RangeFull, Range<usize>> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<RangeInclusive<usize>, usize> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<RangeInclusive<usize>, usize> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<RangeInclusive<usize>, Range<usize>> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<RangeInclusive<usize>, Range<usize>> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<RangeToInclusive<usize>, usize> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<RangeToInclusive<usize>, usize> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity> MatIndex<RangeToInclusive<usize>, Range<usize>> for MatMut<'_, E>

§

type Target = MatMut<'_, E>

source§

impl<E: Entity> MatIndex<RangeToInclusive<usize>, Range<usize>> for MatRef<'_, E>

§

type Target = MatRef<'_, E>

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeFull> for MatMut<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatMut<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeFull> for MatRef<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatRef<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeInclusive<usize>> for MatMut<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatMut<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeInclusive<usize>> for MatRef<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatRef<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeTo<usize>> for MatMut<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatMut<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeTo<usize>> for MatRef<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatRef<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeToInclusive<usize>> for MatMut<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatMut<'_, E> as MatIndex<RowRange, Range<usize>>>::Target

source§

impl<E: Entity, RowRange> MatIndex<RowRange, RangeToInclusive<usize>> for MatRef<'_, E>where Self: MatIndex<RowRange, Range<usize>>,

§

type Target = <MatRef<'_, E> as MatIndex<RowRange, Range<usize>>>::Target