[][src]Trait dicom_object::pixeldata::PixelDataMut

pub trait PixelDataMut: PixelData {
    fn pixel_at_mut(
        &mut self,
        width: u32,
        height: u32
    ) -> Result<&mut Self::Pixel>; }

Required methods

fn pixel_at_mut(&mut self, width: u32, height: u32) -> Result<&mut Self::Pixel>

Obtain a mutable reference to the pixel value in the given position. Can return PixelDataOutOfBounds error when the given coordinates are out of the slice's boundaries.

Loading content...

Implementors

impl<C, P> PixelDataMut for InMemoryPixelData<C, P> where
    P: Clone,
    C: DerefMut<Target = [P]>, 
[src]

Loading content...