Implement Clone for some ffi types
@@ -1108,6 +1108,7 @@ pub struct FormatProperties {
}
#[repr(C)]
+#[derive(Clone)]
pub struct Extent3D {
pub width: u32,
pub height: u32,
@@ -1256,6 +1257,7 @@ pub struct PhysicalDeviceProperties {
}
#[repr(C)]
+#[derive(Clone)]
pub struct QueueFamilyProperties {
pub queueFlags: QueueFlags,
pub queueCount: u32,
@@ -2450,6 +2452,7 @@ pub struct PhysicalDeviceImageFormatInfo2KHR {
}
#[repr(C)]
+#[derive(Clone)]
pub struct QueueFamilyProperties2KHR {
pub sType: StructureType,
pub pNext: *const c_void,
