Struct winrt::windows::foundation::Uri
[−]
[src]
pub struct Uri(_);
Methods
impl Uri
[src]
fn create_uri(uri: &HStringArg) -> Result<ComPtr<Uri>>
fn create_with_relative_uri(
baseUri: &HStringArg,
relativeUri: &HStringArg
) -> Result<ComPtr<Uri>>
baseUri: &HStringArg,
relativeUri: &HStringArg
) -> Result<ComPtr<Uri>>
fn unescape_component(toUnescape: &HStringArg) -> Result<HString>
fn escape_component(toEscape: &HStringArg) -> Result<HString>
Methods from Deref<Target = IUriRuntimeClass>
unsafe fn get_absolute_uri(&self) -> Result<HString>
unsafe fn get_display_uri(&self) -> Result<HString>
unsafe fn get_domain(&self) -> Result<HString>
unsafe fn get_extension(&self) -> Result<HString>
unsafe fn get_fragment(&self) -> Result<HString>
unsafe fn get_host(&self) -> Result<HString>
unsafe fn get_password(&self) -> Result<HString>
unsafe fn get_path(&self) -> Result<HString>
unsafe fn get_query(&self) -> Result<HString>
unsafe fn get_query_parsed(&self) -> Result<ComPtr<WwwFormUrlDecoder>>
unsafe fn get_raw_uri(&self) -> Result<HString>
unsafe fn get_scheme_name(&self) -> Result<HString>
unsafe fn get_user_name(&self) -> Result<HString>
unsafe fn get_port(&self) -> Result<i32>
unsafe fn get_suspicious(&self) -> Result<bool>
unsafe fn equals(&self, pUri: &Uri) -> Result<bool>
unsafe fn combine_uri(&self, relativeUri: &HStringArg) -> Result<ComPtr<Uri>>
Trait Implementations
impl RtInterface for Uri
[src]
impl RtClassInterface for Uri
[src]
impl ComInterface for Uri
[src]
type Vtbl = <IUriRuntimeClass as ComInterface>::Vtbl
The type that defines the VTable of this interface.
impl ComIid for Uri
[src]
impl RtType for Uri
[src]
type In = Uri
type Abi = *mut Uri
type Out = ComPtr<Uri>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl Deref for Uri
[src]
type Target = IUriRuntimeClass
The resulting type after dereferencing
fn deref(&self) -> &IUriRuntimeClass
The method called to dereference a value
impl DerefMut for Uri
[src]
fn deref_mut(&mut self) -> &mut IUriRuntimeClass
The method called to mutably dereference a value
impl RtActivatable<IUriRuntimeClassFactory> for Uri
[src]
fn get_activation_factory() -> ComPtr<Interface> where
Interface: RtInterface + ComIid,
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.
fn new() -> ComPtr<Self> where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Uses the default constructor to create an instance of this class.
impl RtActivatable<IUriEscapeStatics> for Uri
[src]
fn get_activation_factory() -> ComPtr<Interface> where
Interface: RtInterface + ComIid,
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.
fn new() -> ComPtr<Self> where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Uses the default constructor to create an instance of this class.
impl RtNamedClass for Uri
[src]
fn name() -> &'static [u16]
Returns the name of the class encoded as a 16-bit wide string.