Struct winrt::windows::foundation::metadata::IApiInformationStatics
source · #[repr(C)]pub struct IApiInformationStatics { /* private fields */ }
Implementations§
source§impl IApiInformationStatics
impl IApiInformationStatics
pub fn is_type_present(&self, typeName: &HStringArg) -> Result<bool>
pub fn is_method_present(
&self,
typeName: &HStringArg,
methodName: &HStringArg
) -> Result<bool>
pub fn is_method_present_with_arity(
&self,
typeName: &HStringArg,
methodName: &HStringArg,
inputParameterCount: u32
) -> Result<bool>
pub fn is_event_present(
&self,
typeName: &HStringArg,
eventName: &HStringArg
) -> Result<bool>
pub fn is_property_present(
&self,
typeName: &HStringArg,
propertyName: &HStringArg
) -> Result<bool>
pub fn is_read_only_property_present(
&self,
typeName: &HStringArg,
propertyName: &HStringArg
) -> Result<bool>
pub fn is_writeable_property_present(
&self,
typeName: &HStringArg,
propertyName: &HStringArg
) -> Result<bool>
pub fn is_enum_named_value_present(
&self,
enumTypeName: &HStringArg,
valueName: &HStringArg
) -> Result<bool>
pub fn is_api_contract_present_by_major(
&self,
contractName: &HStringArg,
majorVersion: u16
) -> Result<bool>
pub fn is_api_contract_present_by_major_and_minor(
&self,
contractName: &HStringArg,
majorVersion: u16,
minorVersion: u16
) -> Result<bool>
Methods from Deref<Target = IInspectable>§
sourcepub fn get_iids(&self) -> ComArray<Guid>
pub fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
sourcepub fn get_trust_level(&self) -> TrustLevel
pub fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl Deref for IApiInformationStatics
impl Deref for IApiInformationStatics
§type Target = IInspectable
type Target = IInspectable
The resulting type after dereferencing.
source§fn deref(&self) -> &IInspectable
fn deref(&self) -> &IInspectable
Dereferences the value.
source§impl DerefMut for IApiInformationStatics
impl DerefMut for IApiInformationStatics
source§fn deref_mut(&mut self) -> &mut IInspectable
fn deref_mut(&mut self) -> &mut IInspectable
Mutably dereferences the value.
source§impl RtActivatable<IApiInformationStatics> for ApiInformation
impl RtActivatable<IApiInformationStatics> for ApiInformation
source§fn get_activation_factory() -> ComPtr<Interface>where
Interface: RtInterface + ComIid,
fn get_activation_factory() -> ComPtr<Interface>where
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.