[][src]Struct tauri::Webview

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

Implementations

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

pub fn create(debug: bool, window: Option<&mut Window>) -> Webview<'_>[src]

pub fn run(&mut self)[src]

pub fn terminate(&mut self)[src]

pub fn as_mut(&mut self) -> WebviewMut[src]

pub fn set_title(&mut self, title: &str)[src]

pub fn set_size(&mut self, width: i32, height: i32, hints: SizeHint)[src]

pub fn get_window(&self) -> *mut Window[src]

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

pub fn init(&mut self, js: &str)[src]

pub fn eval(&mut self, js: &str)[src]

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

pub fn bind<F>(&mut self, name: &str, f: F) where
    F: FnMut(&str, &str), 
[src]

pub fn return(&self, seq: &str, status: i32, result: &str)[src]

Trait Implementations

impl<'a> Clone for Webview<'a>[src]

impl<'a> Drop for Webview<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Webview<'a>[src]

impl<'a> !Send for Webview<'a>[src]

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

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

impl<'a> UnwindSafe for Webview<'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> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,