pub struct WryBindgenDriver { /* private fields */ }Expand description
Main-thread driver for one webview session.
Implementations§
Source§impl WryBindgenDriver
impl WryBindgenDriver
Sourcepub fn with_evaluate_script(
self,
evaluate_script: impl FnMut(&str) + 'static,
) -> WryBindgenWebviewDriver
pub fn with_evaluate_script( self, evaluate_script: impl FnMut(&str) + 'static, ) -> WryBindgenWebviewDriver
Attach the driver to the webview’s script evaluator.
The evaluator is only used to ask JavaScript to acquire the synchronous handler lock before polling the async runtime.
Auto Trait Implementations§
impl !RefUnwindSafe for WryBindgenDriver
impl !Send for WryBindgenDriver
impl !Sync for WryBindgenDriver
impl !UnwindSafe for WryBindgenDriver
impl Freeze for WryBindgenDriver
impl Unpin for WryBindgenDriver
impl UnsafeUnpin for WryBindgenDriver
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