Add clone to the extensions

This commit is contained in:
maik klein 2016-12-29 07:08:01 +01:00
parent cf66c5988b
commit 05378042e0
8 changed files with 8 additions and 0 deletions

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -8,6 +8,7 @@ use vk;
use std::ffi::CStr;
use ::RawPtr;
#[derive(Clone)]
pub struct Surface {
handle: vk::Instance,
surface_fn: vk::SurfaceFn,

View file

@ -7,6 +7,7 @@ use vk;
use std::ffi::CStr;
use ::RawPtr;
#[derive(Clone)]
pub struct Swapchain {
handle: vk::Device,
swapchain_fn: vk::SwapchainFn,

View file

@ -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,

View file

@ -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,

View file

@ -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,