pub struct UriSchemeContext<'a, R: Runtime> { /* private fields */ }
Expand description
Uri scheme protocol context
Implementations§
source§impl<'a, R: Runtime> UriSchemeContext<'a, R>
impl<'a, R: Runtime> UriSchemeContext<'a, R>
sourcepub fn app_handle(&self) -> &'a AppHandle<R>
pub fn app_handle(&self) -> &'a AppHandle<R>
Get a reference to an AppHandle
.
sourcepub fn webview_label(&self) -> &'a str
pub fn webview_label(&self) -> &'a str
Get the webview label that made the uri scheme request.
Auto Trait Implementations§
impl<'a, R> Freeze for UriSchemeContext<'a, R>
impl<'a, R> !RefUnwindSafe for UriSchemeContext<'a, R>
impl<'a, R> Send for UriSchemeContext<'a, R>
impl<'a, R> Sync for UriSchemeContext<'a, R>
impl<'a, R> Unpin for UriSchemeContext<'a, R>
impl<'a, R> !UnwindSafe for UriSchemeContext<'a, R>
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