Enum tauri::WindowUrl [−][src]
Expand description
The window webview URL options.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
External(Url)
Expand description
An external URL.
App(PathBuf)
Expand description
An app URL.
Trait Implementations
impl<'de> Deserialize<'de> for WindowUrl
[src]
impl<'de> Deserialize<'de> for WindowUrl
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowUrl, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowUrl, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl ToTokens for WindowUrl
[src]
impl ToTokens for WindowUrl
[src]pub fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_tokens(&self, tokens: &mut TokenStream)
[src]Write self
to the given TokenStream
. Read more
fn to_token_stream(&self) -> TokenStream
[src]
fn to_token_stream(&self) -> TokenStream
[src]Convert self
directly into a TokenStream
object. Read more
fn into_token_stream(self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream
[src]Convert self
directly into a TokenStream
object. Read more
impl StructuralPartialEq for WindowUrl
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowUrl
impl Send for WindowUrl
impl Sync for WindowUrl
impl Unpin for WindowUrl
impl UnwindSafe for WindowUrl
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<'de, D, P> CommandArg<'de, P> for D where
P: Params,
D: Deserialize<'de>,
[src]
impl<'de, D, P> CommandArg<'de, P> for D where
P: Params,
D: Deserialize<'de>,
[src]pub fn from_command(CommandItem<'de, P>) -> Result<D, InvokeError>
[src]
pub fn from_command(CommandItem<'de, P>) -> Result<D, InvokeError>
[src]Derives an instance of Self
from the CommandItem
. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,