Add clone to xlib

This commit is contained in:
maik klein 2016-12-29 07:11:10 +01:00
parent 675ec03fca
commit 0c00f0cd1f

View file

@ -7,6 +7,7 @@ use vk;
use std::ffi::CStr; use std::ffi::CStr;
use ::RawPtr; use ::RawPtr;
#[derive(Clone)]
pub struct XlibSurface { pub struct XlibSurface {
handle: vk::Instance, handle: vk::Instance,
xlib_surface_fn: vk::XlibSurfaceFn, xlib_surface_fn: vk::XlibSurfaceFn,