pub fn pixel_at_coord(&self, x: usize, y: usize) -> Result<&VeraPixel, Error> {
		if x >= self.width as usize || y >= self.height as usize {
			return Err(ErrorKind::InvalidImageCoords(x, y).into());
		}
		self.pixel_at_index(y * self.width as usize + x)
	}
/// As above, for an x / y location
As above, for an x / y location
As above for an x / y location
pub fn pixel_at_coord(&self, x: usize, y: usize) -> Result<&VeraPixel, Error> {
		if x >= self.width as usize || y >= self.height as usize {
			return Err(ErrorKind::InvalidImageCoords(x, y).into());
		}
		self.pixel_at_index(y * self.width as usize + x)
	}
pub fn pixel_at_coord ( & self , x : usize , y : usize ) -> Result < & VeraPixel , Error > { if x >= self . width as usize || y >= self . height as usize { return Err ( ErrorKind :: InvalidImageCoords ( x , y ) . into ( ) ) ; } self . pixel_at_index ( y * self . width as usize + x ) }
As above, for an x / y location
As above for an x / y location
&self
x
usize
y
usize