pub struct WebviewScheme { /* private fields */ }Expand description
A custom URI scheme a webview loads the application from, such as one
registered with Tauri’s register_asynchronous_uri_scheme_protocol.
WebView2 and Android serve a custom scheme as http://<name>.localhost;
the other platforms use <name>://localhost. The application sees
origin on every platform, so the absolute URLs it
renders stay the same.
Implementations§
Trait Implementations§
Source§impl Clone for WebviewScheme
impl Clone for WebviewScheme
impl Copy for WebviewScheme
Source§impl Debug for WebviewScheme
impl Debug for WebviewScheme
impl Eq for WebviewScheme
Source§impl PartialEq for WebviewScheme
impl PartialEq for WebviewScheme
impl StructuralPartialEq for WebviewScheme
Auto Trait Implementations§
impl Forget for WebviewScheme
impl Freeze for WebviewScheme
impl Move for WebviewScheme
impl RefUnwindSafe for WebviewScheme
impl Send for WebviewScheme
impl Sync for WebviewScheme
impl Unpin for WebviewScheme
impl UnsafeUnpin for WebviewScheme
impl UnwindSafe for WebviewScheme
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.