Make WindowAttributes private (#2134)

* Make `WindowAttributes` private, and move its documentation

* Reorder WindowAttributes title and fullscreen to match method order
This commit is contained in:
Mads Marquart authored and GitHub committed 2022-06-10 19:05:28 +02:00
1 parent eec84ade86
commit 44288f6280
14 files changed
+74 -98

No files matched your search

+1 -1
View File
@@ -295,7 +295,7 @@ impl VideoMode {
impl Window {
#[inline]
pub fn new<T>(
pub(crate) fn new<T>(
window_target: &EventLoopWindowTarget<T>,
attribs: WindowAttributes,
pl_attribs: PlatformSpecificWindowBuilderAttributes,