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 std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct AndroidSurface {
|
pub struct AndroidSurface {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
android_surface_fn: vk::AndroidSurfaceFn,
|
android_surface_fn: vk::AndroidSurfaceFn,
|
||||||
|
|
|
@ -6,6 +6,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct DebugReport {
|
pub struct DebugReport {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
debug_report_fn: vk::DebugReportFn,
|
debug_report_fn: vk::DebugReportFn,
|
||||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct MirSurface {
|
pub struct MirSurface {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
mir_surface_fn: vk::MirSurfaceFn,
|
mir_surface_fn: vk::MirSurfaceFn,
|
||||||
|
|
|
@ -8,6 +8,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Surface {
|
pub struct Surface {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
surface_fn: vk::SurfaceFn,
|
surface_fn: vk::SurfaceFn,
|
||||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Swapchain {
|
pub struct Swapchain {
|
||||||
handle: vk::Device,
|
handle: vk::Device,
|
||||||
swapchain_fn: vk::SwapchainFn,
|
swapchain_fn: vk::SwapchainFn,
|
||||||
|
|
|
@ -6,6 +6,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct WaylandSurface {
|
pub struct WaylandSurface {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
wayland_surface_fn: vk::WaylandSurfaceFn,
|
wayland_surface_fn: vk::WaylandSurfaceFn,
|
||||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Win32Surface {
|
pub struct Win32Surface {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
win32_surface_fn: vk::Win32SurfaceFn,
|
win32_surface_fn: vk::Win32SurfaceFn,
|
||||||
|
|
|
@ -7,6 +7,7 @@ use vk;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
use ::RawPtr;
|
use ::RawPtr;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct XcbSurface {
|
pub struct XcbSurface {
|
||||||
handle: vk::Instance,
|
handle: vk::Instance,
|
||||||
xcb_surface_fn: vk::XcbSurfaceFn,
|
xcb_surface_fn: vk::XcbSurfaceFn,
|
||||||
|
|
Loading…
Reference in a new issue