pub struct Builder { /* private fields */ }
Expand description
The opener plugin Builder.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn open_js_links_on_click(self, open: bool) -> Self
pub fn open_js_links_on_click(self, open: bool) -> Self
Whether the plugin should inject a JS script to open URLs in default browser
when clicking on <a>
elements that has _blank
target, or when pressing Ctrl
or Shift
while clicking it.
Enabled by default for http:
, https:
, mailto:
, tel:
links.
Sourcepub fn build<R: Runtime>(self) -> TauriPlugin<R, Option<Config>>
pub fn build<R: Runtime>(self) -> TauriPlugin<R, Option<Config>>
Build and Initializes the plugin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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