[][src]Struct pixel_grid::PixelGrid

pub struct PixelGrid<'a> { /* fields omitted */ }

Methods

impl<'a> PixelGrid<'a>[src]

pub fn size(&self) -> Size[src]

pub fn width(&self) -> u32[src]

pub fn height(&self) -> u32[src]

pub fn len(&self) -> usize[src]

Important traits for IterMut<'a>
pub fn iter_mut(&mut self) -> IterMut[src]

pub fn coord_iter(&self) -> CoordIter[src]

pub fn enumerate_mut(&mut self) -> EnumerateMut[src]

pub fn get_mut(&mut self, coord: Coord) -> Option<Pixel>[src]

pub fn get_checked_mut(&mut self, coord: Coord) -> Pixel[src]

pub fn index_of_coord(&self, coord: Coord) -> Option<usize>[src]

pub fn get_index_mut(&mut self, index: usize) -> Pixel[src]

Auto Trait Implementations

impl<'a> Send for PixelGrid<'a>

impl<'a> Sync for PixelGrid<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.