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.
This commit is contained in:
Jay Oster 2021-11-02 22:05:10 -07:00 committed by GitHub
parent eb07e61f5c
commit 5b00f7e32f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}