pub struct Uri(/* private fields */);
Implementations§
Source§impl Uri
impl Uri
pub fn AbsoluteUri(&self) -> Result<HString>
pub fn DisplayUri(&self) -> Result<HString>
pub fn Domain(&self) -> Result<HString>
pub fn Extension(&self) -> Result<HString>
pub fn Fragment(&self) -> Result<HString>
pub fn Host(&self) -> Result<HString>
pub fn Password(&self) -> Result<HString>
pub fn Path(&self) -> Result<HString>
pub fn Query(&self) -> Result<HString>
pub fn QueryParsed(&self) -> Result<WwwFormUrlDecoder>
pub fn RawUri(&self) -> Result<HString>
pub fn SchemeName(&self) -> Result<HString>
pub fn UserName(&self) -> Result<HString>
pub fn Port(&self) -> Result<i32>
pub fn Suspicious(&self) -> Result<bool>
pub fn Equals<'a, T0__: IntoParam<'a, Uri>>(&self, puri: T0__) -> Result<bool>
pub fn CombineUri<'a, T0__: IntoParam<'a, HString>>( &self, relativeuri: T0__, ) -> Result<Uri>
pub fn ToString(&self) -> Result<HString>
pub fn AbsoluteCanonicalUri(&self) -> Result<HString>
pub fn DisplayIri(&self) -> Result<HString>
pub fn UnescapeComponent<'a, T0__: IntoParam<'a, HString>>( tounescape: T0__, ) -> Result<HString>
pub fn EscapeComponent<'a, T0__: IntoParam<'a, HString>>( toescape: T0__, ) -> Result<HString>
pub fn CreateUri<'a, T0__: IntoParam<'a, HString>>(uri: T0__) -> Result<Uri>
pub fn CreateWithRelativeUri<'a, T0__: IntoParam<'a, HString>, T1__: IntoParam<'a, HString>>( baseuri: T0__, relativeuri: T1__, ) -> Result<Uri>
Trait Implementations§
Source§impl From<&Uri> for IStringable
impl From<&Uri> for IStringable
Source§impl From<Uri> for IStringable
impl From<Uri> for IStringable
Source§impl Interface for Uri
impl Interface for Uri
const IID: Guid
type Vtable = IUriRuntimeClass_abi
Source§impl<'a> IntoParam<'a, IStringable> for &'a Uri
impl<'a> IntoParam<'a, IStringable> for &'a Uri
fn into_param(self) -> Param<'a, IStringable>
Source§impl<'a> IntoParam<'a, IStringable> for Uri
impl<'a> IntoParam<'a, IStringable> for Uri
fn into_param(self) -> Param<'a, IStringable>
Source§impl RuntimeType for Uri
impl RuntimeType for Uri
const SIGNATURE: ConstBuffer
type DefaultType = Option<Uri>
impl Eq for Uri
impl Send for Uri
impl StructuralPartialEq for Uri
impl Sync for Uri
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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