pub struct BrowserLauncher { /* private fields */ }Expand description
The launcher of the page: opens URIs in a new browsing context. Files cannot be launched.
Implementations§
Trait Implementations§
Source§impl Default for BrowserLauncher
impl Default for BrowserLauncher
Source§impl ILauncher for BrowserLauncher
impl ILauncher for BrowserLauncher
Source§fn launch_uri_async(&self, uri: &Uri) -> LocalBoxFuture<bool>
fn launch_uri_async(&self, uri: &Uri) -> LocalBoxFuture<bool>
Starts the default app associated with the URI scheme name for the
specified URI. Read more
Source§fn launch_file_async(
&self,
_storage_item: Rc<dyn IStorageItem>,
) -> LocalBoxFuture<bool>
fn launch_file_async( &self, _storage_item: Rc<dyn IStorageItem>, ) -> LocalBoxFuture<bool>
Starts the default app associated with the specified storage file or
folder. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for BrowserLauncher
impl !Send for BrowserLauncher
impl !Sync for BrowserLauncher
impl !UnwindSafe for BrowserLauncher
impl Freeze for BrowserLauncher
impl Unpin for BrowserLauncher
impl UnsafeUnpin for BrowserLauncher
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more