[−][src]Struct pixel_grid::PixelGrid
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]
ⓘImportant traits for IterMut<'a>
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
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,