pub fn pixel_at_index(&self, index: usize) -> Result<&VeraPixel, Error> {
		if index >= self.data.len() {
			return Err(ErrorKind::ImageIndexMissing(index).into());
		}
		Ok(&self.data[index])
	}
/// Get the pixel value at an index
Get the pixel value at an index
Get the pixel value at an index
pub fn pixel_at_index(&self, index: usize) -> Result<&VeraPixel, Error> {
		if index >= self.data.len() {
			return Err(ErrorKind::ImageIndexMissing(index).into());
		}
		Ok(&self.data[index])
	}
pub fn pixel_at_index ( & self , index : usize ) -> Result < & VeraPixel , Error > { if index >= self . data . len ( ) { return Err ( ErrorKind :: ImageIndexMissing ( index ) . into ( ) ) ; } Ok ( & self . data [ index ] ) }
Get the pixel value at an index
Get the pixel value at an index
&self
index
usize