pub struct IndexedResourceCandidate(/* private fields */);
Implementations§
§impl IndexedResourceCandidate
impl IndexedResourceCandidate
pub fn Type(&self) -> Result<IndexedResourceType>
pub fn Uri(&self) -> Result<Uri>
pub fn Metadata(&self) -> Result<IMapView<HSTRING, HSTRING>>
pub fn Qualifiers(&self) -> Result<IVectorView<IndexedResourceQualifier>>
pub fn ValueAsString(&self) -> Result<HSTRING>
pub fn GetQualifierValue(&self, qualifiername: &HSTRING) -> Result<HSTRING>
Trait Implementations§
§impl Clone for IndexedResourceCandidate
impl Clone for IndexedResourceCandidate
§fn clone(&self) -> IndexedResourceCandidate
fn clone(&self) -> IndexedResourceCandidate
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 IndexedResourceCandidate
impl Debug for IndexedResourceCandidate
§impl From<&IndexedResourceCandidate> for &IInspectable
impl From<&IndexedResourceCandidate> for &IInspectable
§fn from(value: &IndexedResourceCandidate) -> Self
fn from(value: &IndexedResourceCandidate) -> Self
Converts to this type from the input type.
§impl From<&IndexedResourceCandidate> for &IUnknown
impl From<&IndexedResourceCandidate> for &IUnknown
§fn from(value: &IndexedResourceCandidate) -> Self
fn from(value: &IndexedResourceCandidate) -> Self
Converts to this type from the input type.
§impl From<IndexedResourceCandidate> for IInspectable
impl From<IndexedResourceCandidate> for IInspectable
§fn from(value: IndexedResourceCandidate) -> Self
fn from(value: IndexedResourceCandidate) -> Self
Converts to this type from the input type.
§impl From<IndexedResourceCandidate> for IUnknown
impl From<IndexedResourceCandidate> for IUnknown
§fn from(value: IndexedResourceCandidate) -> Self
fn from(value: IndexedResourceCandidate) -> Self
Converts to this type from the input type.
§impl Interface for IndexedResourceCandidate
impl Interface for IndexedResourceCandidate
§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§impl PartialEq for IndexedResourceCandidate
impl PartialEq for IndexedResourceCandidate
§fn eq(&self, other: &IndexedResourceCandidate) -> bool
fn eq(&self, other: &IndexedResourceCandidate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IndexedResourceCandidate
impl Send for IndexedResourceCandidate
impl StructuralPartialEq for IndexedResourceCandidate
impl Sync for IndexedResourceCandidate
Auto Trait Implementations§
impl RefUnwindSafe for IndexedResourceCandidate
impl Unpin for IndexedResourceCandidate
impl UnwindSafe for IndexedResourceCandidate
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