fn drop(&mut self) {
        unsafe {
            self.shared_graphics_pool
                .lock()
                .unwrap()
                .destroy(&self.logical_device);
            self.logical_device.destroy_device(None);
        }
    }
/// Destroy the logical device.
///
/// Device owns an Arc<Instance> so it's guaranteed that the instance will
/// not be destroyed until the logical device has been dropped.
Destroy the logical device.
Device owns an Arc so it's guaranteed that the instance will
not be destroyed until the logical device has been dropped.
Destroy the logical device . Device owns an Arc so it ' s guaranteed that the instance will not be destroyed until the logical device has been dropped .
fn drop(&mut self) {
        unsafe {
            self.shared_graphics_pool
                .lock()
                .unwrap()
                .destroy(&self.logical_device);
            self.logical_device.destroy_device(None);
        }
    }
fn drop ( & mut self ) { unsafe { self . shared_graphics_pool . lock ( ) . unwrap ( ) . destroy ( & self . logical_device ) ; self . logical_device . destroy_device ( None ) ; } }
Destroy the logical device.
Destroy the logical device .
&mut self