[][src]Struct webview_official::WebviewBuilder

pub struct WebviewBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> WebviewBuilder<'a>[src]

pub fn new() -> Self[src]

pub fn debug(mut self: Self, debug: bool) -> Self[src]

pub fn window(mut self: Self, window: &'a mut Window) -> Self[src]

pub fn title(mut self: Self, title: &'a str) -> Self[src]

pub fn url(mut self: Self, url: &'a str) -> Self[src]

pub fn init(mut self: Self, init: &'a str) -> Self[src]

pub fn eval(mut self: Self, eval: &'a str) -> Self[src]

pub fn width(mut self: Self, width: usize) -> Self[src]

pub fn height(mut self: Self, height: usize) -> Self[src]

pub fn resize(mut self: Self, hint: SizeHint) -> Self[src]

pub fn dispatch<F>(mut self: Self, f: F) -> Self where
    F: FnOnce(&mut Webview<'_>) + Send + 'static, 
[src]

pub fn build(self) -> Webview<'a>[src]

Trait Implementations

impl<'a> Default for WebviewBuilder<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for WebviewBuilder<'a>[src]

impl<'a> Send for WebviewBuilder<'a>[src]

impl<'a> !Sync for WebviewBuilder<'a>[src]

impl<'a> Unpin for WebviewBuilder<'a>[src]

impl<'a> !UnwindSafe for WebviewBuilder<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.