Struct tauri_runtime_wry::WindowBuilderWrapper
source · [−]pub struct WindowBuilderWrapper { /* private fields */ }
Trait Implementations
sourceimpl Clone for WindowBuilderWrapper
impl Clone for WindowBuilderWrapper
sourcefn clone(&self) -> WindowBuilderWrapper
fn clone(&self) -> WindowBuilderWrapper
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 Debug for WindowBuilderWrapper
impl Debug for WindowBuilderWrapper
sourceimpl Default for WindowBuilderWrapper
impl Default for WindowBuilderWrapper
sourcefn default() -> WindowBuilderWrapper
fn default() -> WindowBuilderWrapper
Returns the “default value” for a type. Read more
sourceimpl WindowBuilder for WindowBuilderWrapper
impl WindowBuilder for WindowBuilderWrapper
sourcefn focus(self) -> Self
fn focus(self) -> Self
Deprecated since 0.1.4 (noop) Windows is automatically focused when created.
sourcefn with_config(config: WindowConfig) -> Self
fn with_config(config: WindowConfig) -> Self
Initializes a new webview builder from a WindowConfig
Sets the menu for the window.
sourcefn inner_size(self, width: f64, height: f64) -> Self
fn inner_size(self, width: f64, height: f64) -> Self
Window size.
sourcefn min_inner_size(self, min_width: f64, min_height: f64) -> Self
fn min_inner_size(self, min_width: f64, min_height: f64) -> Self
Window min inner size.
sourcefn max_inner_size(self, max_width: f64, max_height: f64) -> Self
fn max_inner_size(self, max_width: f64, max_height: f64) -> Self
Window max inner size.
sourcefn fullscreen(self, fullscreen: bool) -> Self
fn fullscreen(self, fullscreen: bool) -> Self
Whether to start the window in fullscreen or not.
sourcefn maximized(self, maximized: bool) -> Self
fn maximized(self, maximized: bool) -> Self
Whether the window should be maximized upon creation.
sourcefn visible(self, visible: bool) -> Self
fn visible(self, visible: bool) -> Self
Whether the window should be immediately visible upon creation.
sourcefn decorations(self, decorations: bool) -> Self
fn decorations(self, decorations: bool) -> Self
Whether the window should have borders and bars.
sourcefn always_on_top(self, always_on_top: bool) -> Self
fn always_on_top(self, always_on_top: bool) -> Self
Whether the window should always be on top of other windows.
sourcefn parent_window(self, parent: *mut c_void) -> Self
fn parent_window(self, parent: *mut c_void) -> Self
Sets a parent to the window to be created. Read more
sourcefn skip_taskbar(self, _skip: bool) -> Self
fn skip_taskbar(self, _skip: bool) -> Self
Sets whether or not the window icon should be added to the taskbar.
sourcefn theme(self, theme: Option<Theme>) -> Self
fn theme(self, theme: Option<Theme>) -> Self
Forces a theme or uses the system settings if None was provided.
Gets the window menu.
impl Send for WindowBuilderWrapper
impl WindowBuilderBase for WindowBuilderWrapper
Auto Trait Implementations
impl RefUnwindSafe for WindowBuilderWrapper
impl !Sync for WindowBuilderWrapper
impl Unpin for WindowBuilderWrapper
impl UnwindSafe for WindowBuilderWrapper
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