Trait winrt::RtDefaultConstructible
source · pub trait RtDefaultConstructible {
fn new() -> ComPtr<Self>
where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface;
}
Expand description
Enables easy access to a default constructor, using IActivationFactory
under the hood.
Required Methods§
sourcefn new() -> ComPtr<Self>where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
fn new() -> ComPtr<Self>where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Uses the default constructor to create an instance of this class.