Struct webkit2gtk::WindowPropertiesBuilder
source · 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 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