Add clone to the extensions
This commit is contained in:
parent
cf66c5988b
commit
05378042e0
|
@ -7,6 +7,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct AndroidSurface {
|
||||
handle: vk::Instance,
|
||||
android_surface_fn: vk::AndroidSurfaceFn,
|
||||
|
|
|
@ -6,6 +6,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct DebugReport {
|
||||
handle: vk::Instance,
|
||||
debug_report_fn: vk::DebugReportFn,
|
||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct MirSurface {
|
||||
handle: vk::Instance,
|
||||
mir_surface_fn: vk::MirSurfaceFn,
|
||||
|
|
|
@ -8,6 +8,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Surface {
|
||||
handle: vk::Instance,
|
||||
surface_fn: vk::SurfaceFn,
|
||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Swapchain {
|
||||
handle: vk::Device,
|
||||
swapchain_fn: vk::SwapchainFn,
|
||||
|
|
|
@ -6,6 +6,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct WaylandSurface {
|
||||
handle: vk::Instance,
|
||||
wayland_surface_fn: vk::WaylandSurfaceFn,
|
||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Win32Surface {
|
||||
handle: vk::Instance,
|
||||
win32_surface_fn: vk::Win32SurfaceFn,
|
||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
|||
use std::ffi::CStr;
|
||||
use ::RawPtr;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct XcbSurface {
|
||||
handle: vk::Instance,
|
||||
xcb_surface_fn: vk::XcbSurfaceFn,
|
||||
|
|
Loading…
Reference in a new issue