Struct windows::Foundation::IStringable
pub struct IStringable(/* private fields */);
Implementations§
§impl IStringable
impl IStringable
pub fn ToString(&self) -> Result<HSTRING>
Methods from Deref<Target = IInspectable>§
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
Returns the canonical type name for the underlying object.
pub fn GetTrustLevel(&self) -> Result<i32, Error>
pub fn GetTrustLevel(&self) -> Result<i32, Error>
Gets the trust level of the current object.
Trait Implementations§
§impl CanInto<IInspectable> for IStringable
impl CanInto<IInspectable> for IStringable
§impl CanInto<IStringable> for DnssdRegistrationResult
impl CanInto<IStringable> for DnssdRegistrationResult
§impl CanInto<IStringable> for DnssdServiceInstance
impl CanInto<IStringable> for DnssdServiceInstance
§impl CanInto<IStringable> for HttpBufferContent
impl CanInto<IStringable> for HttpBufferContent
§impl CanInto<IStringable> for HttpCacheDirectiveHeaderValueCollection
impl CanInto<IStringable> for HttpCacheDirectiveHeaderValueCollection
§impl CanInto<IStringable> for HttpChallengeHeaderValue
impl CanInto<IStringable> for HttpChallengeHeaderValue
§impl CanInto<IStringable> for HttpChallengeHeaderValueCollection
impl CanInto<IStringable> for HttpChallengeHeaderValueCollection
§impl CanInto<IStringable> for HttpClient
impl CanInto<IStringable> for HttpClient
§impl CanInto<IStringable> for HttpConnectionOptionHeaderValue
impl CanInto<IStringable> for HttpConnectionOptionHeaderValue
§impl CanInto<IStringable> for HttpConnectionOptionHeaderValueCollection
impl CanInto<IStringable> for HttpConnectionOptionHeaderValueCollection
§impl CanInto<IStringable> for HttpContentCodingHeaderValue
impl CanInto<IStringable> for HttpContentCodingHeaderValue
§impl CanInto<IStringable> for HttpContentCodingHeaderValueCollection
impl CanInto<IStringable> for HttpContentCodingHeaderValueCollection
§impl CanInto<IStringable> for HttpContentCodingWithQualityHeaderValue
impl CanInto<IStringable> for HttpContentCodingWithQualityHeaderValue
§impl CanInto<IStringable> for HttpContentCodingWithQualityHeaderValueCollection
impl CanInto<IStringable> for HttpContentCodingWithQualityHeaderValueCollection
§impl CanInto<IStringable> for HttpContentDispositionHeaderValue
impl CanInto<IStringable> for HttpContentDispositionHeaderValue
§impl CanInto<IStringable> for HttpContentHeaderCollection
impl CanInto<IStringable> for HttpContentHeaderCollection
§impl CanInto<IStringable> for HttpContentRangeHeaderValue
impl CanInto<IStringable> for HttpContentRangeHeaderValue
§impl CanInto<IStringable> for HttpCookie
impl CanInto<IStringable> for HttpCookie
§impl CanInto<IStringable> for HttpCookiePairHeaderValue
impl CanInto<IStringable> for HttpCookiePairHeaderValue
§impl CanInto<IStringable> for HttpCookiePairHeaderValueCollection
impl CanInto<IStringable> for HttpCookiePairHeaderValueCollection
§impl CanInto<IStringable> for HttpCredentialsHeaderValue
impl CanInto<IStringable> for HttpCredentialsHeaderValue
§impl CanInto<IStringable> for HttpDateOrDeltaHeaderValue
impl CanInto<IStringable> for HttpDateOrDeltaHeaderValue
§impl CanInto<IStringable> for HttpExpectationHeaderValue
impl CanInto<IStringable> for HttpExpectationHeaderValue
§impl CanInto<IStringable> for HttpExpectationHeaderValueCollection
impl CanInto<IStringable> for HttpExpectationHeaderValueCollection
§impl CanInto<IStringable> for HttpFormUrlEncodedContent
impl CanInto<IStringable> for HttpFormUrlEncodedContent
§impl CanInto<IStringable> for HttpGetBufferResult
impl CanInto<IStringable> for HttpGetBufferResult
§impl CanInto<IStringable> for HttpGetInputStreamResult
impl CanInto<IStringable> for HttpGetInputStreamResult
§impl CanInto<IStringable> for HttpGetStringResult
impl CanInto<IStringable> for HttpGetStringResult
§impl CanInto<IStringable> for HttpLanguageHeaderValueCollection
impl CanInto<IStringable> for HttpLanguageHeaderValueCollection
§impl CanInto<IStringable> for HttpLanguageRangeWithQualityHeaderValue
impl CanInto<IStringable> for HttpLanguageRangeWithQualityHeaderValue
§impl CanInto<IStringable> for HttpLanguageRangeWithQualityHeaderValueCollection
impl CanInto<IStringable> for HttpLanguageRangeWithQualityHeaderValueCollection
§impl CanInto<IStringable> for HttpMediaTypeHeaderValue
impl CanInto<IStringable> for HttpMediaTypeHeaderValue
§impl CanInto<IStringable> for HttpMediaTypeWithQualityHeaderValue
impl CanInto<IStringable> for HttpMediaTypeWithQualityHeaderValue
§impl CanInto<IStringable> for HttpMediaTypeWithQualityHeaderValueCollection
impl CanInto<IStringable> for HttpMediaTypeWithQualityHeaderValueCollection
§impl CanInto<IStringable> for HttpMethod
impl CanInto<IStringable> for HttpMethod
§impl CanInto<IStringable> for HttpMethodHeaderValueCollection
impl CanInto<IStringable> for HttpMethodHeaderValueCollection
§impl CanInto<IStringable> for HttpMultipartContent
impl CanInto<IStringable> for HttpMultipartContent
§impl CanInto<IStringable> for HttpMultipartFormDataContent
impl CanInto<IStringable> for HttpMultipartFormDataContent
§impl CanInto<IStringable> for HttpNameValueHeaderValue
impl CanInto<IStringable> for HttpNameValueHeaderValue
§impl CanInto<IStringable> for HttpProductHeaderValue
impl CanInto<IStringable> for HttpProductHeaderValue
§impl CanInto<IStringable> for HttpProductInfoHeaderValue
impl CanInto<IStringable> for HttpProductInfoHeaderValue
§impl CanInto<IStringable> for HttpProductInfoHeaderValueCollection
impl CanInto<IStringable> for HttpProductInfoHeaderValueCollection
§impl CanInto<IStringable> for HttpRequestHeaderCollection
impl CanInto<IStringable> for HttpRequestHeaderCollection
§impl CanInto<IStringable> for HttpRequestMessage
impl CanInto<IStringable> for HttpRequestMessage
§impl CanInto<IStringable> for HttpRequestResult
impl CanInto<IStringable> for HttpRequestResult
§impl CanInto<IStringable> for HttpResponseHeaderCollection
impl CanInto<IStringable> for HttpResponseHeaderCollection
§impl CanInto<IStringable> for HttpResponseMessage
impl CanInto<IStringable> for HttpResponseMessage
§impl CanInto<IStringable> for HttpStreamContent
impl CanInto<IStringable> for HttpStreamContent
§impl CanInto<IStringable> for HttpStringContent
impl CanInto<IStringable> for HttpStringContent
§impl CanInto<IStringable> for HttpTransferCodingHeaderValue
impl CanInto<IStringable> for HttpTransferCodingHeaderValue
§impl CanInto<IStringable> for HttpTransferCodingHeaderValueCollection
impl CanInto<IStringable> for HttpTransferCodingHeaderValueCollection
§impl CanInto<IStringable> for HttpTransportInformation
impl CanInto<IStringable> for HttpTransportInformation
§impl CanInto<IStringable> for InstalledDesktopApp
impl CanInto<IStringable> for InstalledDesktopApp
§impl CanInto<IStringable> for JsonObject
impl CanInto<IStringable> for JsonObject
§impl CanInto<IStringable> for PhoneNumberInfo
impl CanInto<IStringable> for PhoneNumberInfo
§impl CanInto<IUnknown> for IStringable
impl CanInto<IUnknown> for IStringable
§impl Clone for IStringable
impl Clone for IStringable
§fn clone(&self) -> IStringable
fn clone(&self) -> IStringable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IStringable
impl Debug for IStringable
§impl Deref for IStringable
impl Deref for IStringable
§impl From<&IStringable> for &IInspectable
impl From<&IStringable> for &IInspectable
§fn from(value: &IStringable) -> Self
fn from(value: &IStringable) -> Self
Converts to this type from the input type.
§impl From<&IStringable> for &IUnknown
impl From<&IStringable> for &IUnknown
§fn from(value: &IStringable) -> Self
fn from(value: &IStringable) -> Self
Converts to this type from the input type.
§impl From<IStringable> for IInspectable
impl From<IStringable> for IInspectable
§fn from(value: IStringable) -> Self
fn from(value: IStringable) -> Self
Converts to this type from the input type.
§impl From<IStringable> for IUnknown
impl From<IStringable> for IUnknown
§fn from(value: IStringable) -> Self
fn from(value: IStringable) -> Self
Converts to this type from the input type.
§impl Interface for IStringable
impl Interface for IStringable
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IStringable
impl PartialEq for IStringable
§fn eq(&self, other: &IStringable) -> bool
fn eq(&self, other: &IStringable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IStringable
impl StructuralPartialEq for IStringable
Auto Trait Implementations§
impl Freeze for IStringable
impl RefUnwindSafe for IStringable
impl !Send for IStringable
impl !Sync for IStringable
impl Unpin for IStringable
impl UnwindSafe for IStringable
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)