pub fn copy(&mut self, rect: &Rect, dest: &mut [u8], stride: usize) -> Result<()> {
        let stride_u32 = u32::try_from(stride)?;
        unsafe {
            call((*self.raw).Copy.unwrap()(self.raw, &rect.raw, dest.as_mut_ptr(), stride_u32))?;
            Ok(())
        }
    }
///
/// Decode pixel data and copy it into a provided output buffer.
/// You can ask for just part of the image to decode fewer macroblocks.
/// However this mode is not well tested.
///
Decode pixel data and copy it into a provided output buffer.
You can ask for just part of the image to decode fewer macroblocks.
However this mode is not well tested.
Decode pixel data and copy it into a provided output buffer . You can ask for just part of the image to decode fewer macroblocks . However this mode is not well tested .
pub fn copy(&mut self, rect: &Rect, dest: &mut [u8], stride: usize) -> Result<()> {
        let stride_u32 = u32::try_from(stride)?;
        unsafe {
            call((*self.raw).Copy.unwrap()(self.raw, &rect.raw, dest.as_mut_ptr(), stride_u32))?;
            Ok(())
        }
    }
pub fn copy ( & mut self , rect : & Rect , dest : & mut [ u8 ] , stride : usize ) -> Result < ( ) > { let stride_u32 = u32 :: try_from ( stride ) ? ; unsafe { call ( ( * self . raw ) . Copy . unwrap ( ) ( self . raw , & rect . raw , dest . as_mut_ptr ( ) , stride_u32 ) ) ? ; Ok ( ( ) ) } }
Decode pixel data and copy it into a provided output buffer.
Decode pixel data and copy it into a provided output buffer .
&mut self
rect
&Rect
dest
&mut [u8]
stride
usize
&mut self
rect
&Rect
dest
&mut [u8]
stride
usize