From 5b00f7e32f0391265d58f2c0892eab13d017230a Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Tue, 2 Nov 2021 22:05:10 -0700 Subject: [PATCH] Make SurfaceSize private (#220) - This struct is only used internally. No need to make it public. - Technically a breaking change, so this will bump the SemVer. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3826b5f..8589c2e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,7 +51,7 @@ pub struct SurfaceTexture<'win, W: HasRawWindowHandle> { /// A logical texture size for a window surface. #[derive(Debug)] -pub struct SurfaceSize { +struct SurfaceSize { width: u32, height: u32, }