pub struct WindowPropertiesBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct WindowProperties
objects.
Implementations§
Source§impl WindowPropertiesBuilder
impl WindowPropertiesBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new WindowPropertiesBuilder
.
Sourcepub fn build(self) -> WindowProperties
pub fn build(self) -> WindowProperties
Build the WindowProperties
.
pub fn fullscreen(self, fullscreen: bool) -> Self
pub fn geometry(self, geometry: &Rectangle) -> Self
pub fn locationbar_visible(self, locationbar_visible: bool) -> Self
pub fn resizable(self, resizable: bool) -> Self
pub fn scrollbars_visible(self, scrollbars_visible: bool) -> Self
pub fn statusbar_visible(self, statusbar_visible: bool) -> Self
pub fn toolbar_visible(self, toolbar_visible: bool) -> Self
Trait Implementations§
Source§impl Clone for WindowPropertiesBuilder
impl Clone for WindowPropertiesBuilder
Source§fn clone(&self) -> WindowPropertiesBuilder
fn clone(&self) -> WindowPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for WindowPropertiesBuilder
impl Default for WindowPropertiesBuilder
Source§fn default() -> WindowPropertiesBuilder
fn default() -> WindowPropertiesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowPropertiesBuilder
impl RefUnwindSafe for WindowPropertiesBuilder
impl Send for WindowPropertiesBuilder
impl Sync for WindowPropertiesBuilder
impl Unpin for WindowPropertiesBuilder
impl UnwindSafe for WindowPropertiesBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more