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:
parent
eec84ade86
commit
44288f6280
14 changed files with 74 additions and 98 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ pub struct Window {
|
|||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new<T>(
|
||||
pub(crate) fn new<T>(
|
||||
event_loop_window_target: &EventLoopWindowTarget<T>,
|
||||
attributes: WindowAttributes,
|
||||
platform_attributes: PlatformAttributes,
|
||||
|
|
|
|||
|
|
@ -638,7 +638,7 @@ impl Deref for Window {
|
|||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new<T>(
|
||||
pub(crate) fn new<T>(
|
||||
event_loop: &EventLoopWindowTarget<T>,
|
||||
attribs: WindowAttributes,
|
||||
pl_attribs: PlatformSpecificWindowBuilderAttributes,
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ pub struct UnownedWindow {
|
|||
}
|
||||
|
||||
impl UnownedWindow {
|
||||
pub fn new<T>(
|
||||
pub(crate) fn new<T>(
|
||||
event_loop: &EventLoopWindowTarget<T>,
|
||||
window_attrs: WindowAttributes,
|
||||
pl_attribs: PlatformSpecificWindowBuilderAttributes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue