[][src]Struct webview_official::Webview

pub struct Webview(_);

Implementations

impl Webview[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: &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: c_int, result: &str)[src]

Trait Implementations

impl Clone for Webview[src]

impl Drop for Webview[src]

Auto Trait Implementations

impl RefUnwindSafe for Webview

impl !Send for Webview

impl !Sync for Webview

impl Unpin for Webview

impl UnwindSafe for Webview

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> 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.