[−][src]Struct tauri::Webview
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]
F: FnOnce(&mut Webview<'_>) + Send + 'static,
pub fn bind<F>(&mut self, name: &str, f: F) where
F: FnMut(&str, &str),
[src]
F: FnMut(&str, &str),
pub fn return(&self, seq: &str, status: i32, result: &str)
[src]
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Webview<'a>
impl<'a> !Send for Webview<'a>
impl<'a> !Sync for Webview<'a>
impl<'a> Unpin for Webview<'a>
impl<'a> UnwindSafe for Webview<'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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,