[−][src]Struct webview_official::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]
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: c_int, result: &str)
[src]
Trait Implementations
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]
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>,