pub struct Controller { /* private fields */ }Implementations§
Source§impl Controller
impl Controller
pub fn new() -> Self
pub fn check_member_missing(&self, member: &str) -> Result<(), ArkWebError>
Sourcepub fn run_javascript<F>(
&self,
web_tag: &str,
js_code: &str,
callback: F,
) -> Result<(), ArkWebError>
pub fn run_javascript<F>( &self, web_tag: &str, js_code: &str, callback: F, ) -> Result<(), ArkWebError>
Evaluates js_code in the page currently displayed by web_tag and invokes
callback once with the result bytes (None if ArkWeb supplies no bridge
payload). ArkWeb may invoke callback on an internal worker thread.
pub fn register_javascript_proxy( &self, web_tag: String, proxy_object: *const ArkWeb_ProxyObject, ) -> Result<(), ArkWebError>
pub fn refresh(&self, web_tag: String) -> Result<(), ArkWebError>
Trait Implementations§
Auto Trait Implementations§
impl Forget for Controller
impl Freeze for Controller
impl Move for Controller
impl RefUnwindSafe for Controller
impl Unpin for Controller
impl UnsafeUnpin for Controller
impl UnwindSafe for Controller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more