pub unsafe fn destroy_texture(
        &mut self,
        graphics: &mut Graphics,
    ) -> Result<()> {
        graphics.take_texture(self.texture_handle)?;
        Ok(())
    }
/// Destroy the texture in the graphics subsystem's texture atlas.
///
/// # Unsafe Because
///
/// - the atlas will not successfully render text after this call, the
///   application is responsible for disposing of any remaining batches
Destroy the texture in the graphics subsystem's texture atlas.
Destroy the texture in the graphics subsystem ' s texture atlas .
pub unsafe fn destroy_texture(
        &mut self,
        graphics: &mut Graphics,
    ) -> Result<()> {
        graphics.take_texture(self.texture_handle)?;
        Ok(())
    }
pub unsafe fn destroy_texture ( & mut self , graphics : & mut Graphics , ) -> Result < ( ) > { graphics . take_texture ( self . texture_handle ) ? ; Ok ( ( ) ) }
Destroy the texture in the graphics subsystem's texture atlas.
Destroy the texture in the graphics subsystem ' s texture atlas .
&mut self
graphics
&mut Graphics
unsafe because
the atlas will not successfully render text after this call, the
application is responsible for disposing of any remaining batches
the atlas will not successfully render text after this call the application is responsible for disposing of any remaining batches