pub struct WindowMethodInvoker { /* private fields */ }
Implementations§
Source§impl WindowMethodInvoker
impl WindowMethodInvoker
pub fn call_method<F>(
&self,
method: &str,
arguments: Value,
reply: F,
) -> Result<()>where
F: FnOnce(WindowMethodCallResult) + 'static,
Trait Implementations§
Source§impl Clone for WindowMethodInvoker
impl Clone for WindowMethodInvoker
Source§fn clone(&self) -> WindowMethodInvoker
fn clone(&self) -> WindowMethodInvoker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for WindowMethodInvoker
impl !RefUnwindSafe for WindowMethodInvoker
impl !Send for WindowMethodInvoker
impl !Sync for WindowMethodInvoker
impl Unpin for WindowMethodInvoker
impl !UnwindSafe for WindowMethodInvoker
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