pub trait IndexRegion<I, T> {
    // Required methods
    fn region(&self, _: I) -> Region<'_, T>;
    fn region_mut(&mut self, _: I) -> RegionMut<'_, T>;
}

Required Methods§

source

fn region(&self, _: I) -> Region<'_, T>

Get an immutable region of Self

source

fn region_mut(&mut self, _: I) -> RegionMut<'_, T>

Get a mutable region of Self

Implementors§

source§

impl<T> IndexRegion<Range<Line>, T> for Grid<T>

source§

impl<T> IndexRegion<RangeFrom<Line>, T> for Grid<T>

source§

impl<T> IndexRegion<RangeFull, T> for Grid<T>

source§

impl<T> IndexRegion<RangeTo<Line>, T> for Grid<T>