[][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(self, debug: bool) -> Self[src]

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

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

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

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

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

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

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

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

pub fn dispatch<F>(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>

impl<'a> Send for WebviewBuilder<'a>

impl<'a> !Sync for WebviewBuilder<'a>

impl<'a> Unpin for WebviewBuilder<'a>

impl<'a> !UnwindSafe for WebviewBuilder<'a>

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.