From e455873d6a48e1c66bfd8c17cfc27722d3c62eed Mon Sep 17 00:00:00 2001 From: maik klein Date: Thu, 29 Dec 2016 04:18:54 +0100 Subject: [PATCH] Makes public fields private for all the extensions --- src/extensions/surface.rs | 4 ++-- src/extensions/win32_surface.rs | 4 ++-- src/extensions/xlibsurface.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/extensions/surface.rs b/src/extensions/surface.rs index b3b939a..0573d79 100644 --- a/src/extensions/surface.rs +++ b/src/extensions/surface.rs @@ -8,8 +8,8 @@ use std::ffi::CStr; use ::RawPtr; pub struct Surface { - pub handle: vk::Instance, - pub surface_fn: vk::SurfaceFn, + handle: vk::Instance, + surface_fn: vk::SurfaceFn, } impl Surface { diff --git a/src/extensions/win32_surface.rs b/src/extensions/win32_surface.rs index f7b4bf3..d24d110 100644 --- a/src/extensions/win32_surface.rs +++ b/src/extensions/win32_surface.rs @@ -7,8 +7,8 @@ use std::ffi::CStr; use ::RawPtr; pub struct Win32Surface { - pub handle: vk::Instance, - pub win32_surface_fn: vk::Win32SurfaceFn, + handle: vk::Instance, + win32_surface_fn: vk::Win32SurfaceFn, } impl Win32Surface { diff --git a/src/extensions/xlibsurface.rs b/src/extensions/xlibsurface.rs index de128c1..7661432 100644 --- a/src/extensions/xlibsurface.rs +++ b/src/extensions/xlibsurface.rs @@ -7,8 +7,8 @@ use std::ffi::CStr; use ::RawPtr; pub struct XlibSurface { - pub handle: vk::Instance, - pub xlib_surface_fn: vk::XlibSurfaceFn, + handle: vk::Instance, + xlib_surface_fn: vk::XlibSurfaceFn, } impl XlibSurface {