Struct webkit2gtk::WindowPropertiesBuilder
source · [−]pub struct WindowPropertiesBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct WindowProperties
objects.
Implementations
sourceimpl 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
sourceimpl Clone for WindowPropertiesBuilder
impl Clone for WindowPropertiesBuilder
sourcefn clone(&self) -> WindowPropertiesBuilder
fn clone(&self) -> WindowPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for WindowPropertiesBuilder
impl Default for WindowPropertiesBuilder
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more