pub fn ggez_images<'b>(
        &'b mut self,
        ctx: &mut ggez::Context,
    ) -> (&'b graphics::Image, &'b graphics::Image) {
        (
            {
                if self.changed || self.reproduction_gpu_image.is_none() {
                    self.changed = false;
                    self.reproduction_gpu_image = Some(
                        graphics::Image::from_rgba8(
                            ctx,
                            IMAGE_SIZE,
                            IMAGE_SIZE,
                            &self.reproduction,
                        ).expect("Image invalid!"),
                    );
                }

                self.reproduction_gpu_image.as_ref().unwrap()
            },
            &self.original_gpu_image,
        )
    }
/// Returns a ggez `graphics::Image` for the reproduction (first in tuple) and the original
/// (second in tuple)
Returns a ggez `graphics::Image` for the reproduction (first in tuple) and the original
(second in tuple)
Returns a ggez ` graphics :: Image ` for the reproduction ( first in tuple ) and the original ( second in tuple )
pub fn ggez_images<'b>(
        &'b mut self,
        ctx: &mut ggez::Context,
    ) -> (&'b graphics::Image, &'b graphics::Image) {
        (
            {
                if self.changed || self.reproduction_gpu_image.is_none() {
                    self.changed = false;
                    self.reproduction_gpu_image = Some(
                        graphics::Image::from_rgba8(
                            ctx,
                            IMAGE_SIZE,
                            IMAGE_SIZE,
                            &self.reproduction,
                        ).expect("Image invalid!"),
                    );
                }
                self.reproduction_gpu_image.as_ref().unwrap()
            },
            &self.original_gpu_image,
        )
    }
pub fn ggez_images < ' b > ( & ' b mut self , ctx : & mut ggez :: Context , ) -> ( & ' b graphics :: Image , & ' b graphics :: Image ) { ( { if self . changed || self . reproduction_gpu_image . is_none ( ) { self . changed = false ; self . reproduction_gpu_image = Some ( graphics :: Image :: from_rgba8 ( ctx , IMAGE_SIZE , IMAGE_SIZE , & self . reproduction , ) . expect ( " " ) , ) ; } self . reproduction_gpu_image . as_ref ( ) . unwrap ( ) } , & self . original_gpu_image , ) }
Returns a ggez `graphics::Image` for the reproduction (first in tuple) and the original
(second in tuple)
Returns a ggez ` graphics :: Image ` for the reproduction ( first in tuple ) and the original ( second in tuple )
&'b mut self
ctx
&mut ggez::Context
&'b mut self
ctx
&mut ggez::Context