Struct dioxus_webview::DioxusWebviewBuilder [−][src]
Implementations
impl<'a> DioxusWebviewBuilder<'a>
[src]
pub fn title(self, title: &'a str) -> Self
[src]
Sets the title of the WebView window.
Defaults to "Application"
.
pub fn size(self, width: i32, height: i32) -> Self
[src]
Sets the size of the WebView window.
Defaults to 800 x 600.
pub fn resizable(self, resizable: bool) -> Self
[src]
Sets the resizability of the WebView window. If set to false, the window cannot be resized.
Defaults to true
.
pub fn debug(self, debug: bool) -> Self
[src]
Enables or disables debug mode.
Defaults to true
for debug builds, false
for release builds.
pub fn frameless(self, frameless: bool) -> Self
[src]
The window crated will be frameless
defaults to false
pub fn visible(self, visible: bool) -> Self
[src]
Set the visibility of the WebView window.
defaults to true
pub fn min_size(self, width: i32, height: i32) -> Self
[src]
Sets the minimum size of the WebView window.
Defaults to 300 x 300.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DioxusWebviewBuilder<'a>
impl<'a> Send for DioxusWebviewBuilder<'a>
impl<'a> Sync for DioxusWebviewBuilder<'a>
impl<'a> Unpin for DioxusWebviewBuilder<'a>
impl<'a> UnwindSafe for DioxusWebviewBuilder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,