Struct winrt::IActivationFactory
source · #[repr(C)]pub struct IActivationFactory { /* private fields */ }
Expand description
Enables classes to be activated using a default constructor.
This interface should not be used directly, but the new()
method of
the RtDefaultConstructible
trait should be used instead.
Implementations§
source§impl IActivationFactory
impl IActivationFactory
pub fn activate_instance(&self) -> ComPtr<IInspectable>
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 ComInterface for IActivationFactory
impl ComInterface for IActivationFactory
source§impl Deref for IActivationFactory
impl Deref for IActivationFactory
§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 IActivationFactory
impl DerefMut for IActivationFactory
source§fn deref_mut(&mut self) -> &mut IInspectable
fn deref_mut(&mut self) -> &mut IInspectable
Mutably dereferences the value.
source§impl RtActivatable<IActivationFactory> for LoggingChannelOptions
impl RtActivatable<IActivationFactory> for LoggingChannelOptions
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.
source§impl RtActivatable<IActivationFactory> for LoggingFields
impl RtActivatable<IActivationFactory> for LoggingFields
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.
source§impl RtActivatable<IActivationFactory> for LoggingOptions
impl RtActivatable<IActivationFactory> for LoggingOptions
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.
source§impl RtActivatable<IActivationFactory> for PropertySet
impl RtActivatable<IActivationFactory> for PropertySet
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.
source§impl RtActivatable<IActivationFactory> for RuntimeBrokerErrorSettings
impl RtActivatable<IActivationFactory> for RuntimeBrokerErrorSettings
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.
source§impl RtActivatable<IActivationFactory> for StringMap
impl RtActivatable<IActivationFactory> for StringMap
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.
source§impl RtActivatable<IActivationFactory> for ValueSet
impl RtActivatable<IActivationFactory> for ValueSet
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.