pub fn maybe_new(
        automation: Option<raw::InterfacePtr<AutomationTypeSystem, T>>,
        raw: Option<raw::InterfacePtr<RawTypeSystem, T>>,
    ) -> Option<ComItf<T>>
    {
        // ComItf must have at least one valid interface pointer.
        if automation.is_none() && raw.is_none() {
            return None;
        }

        Some(ComItf {
            raw_ptr: raw,
            automation_ptr: automation,
            phantom: PhantomData,
        })
    }
/// Creates a `ComItf<T>` from a raw type system COM interface pointer..
Creates a `ComItf` from a raw type system COM interface pointer
Creates a ` ComItf ` from a raw type system COM interface pointer
pub fn maybe_new(
        automation: Option<raw::InterfacePtr<AutomationTypeSystem, T>>,
        raw: Option<raw::InterfacePtr<RawTypeSystem, T>>,
    ) -> Option<ComItf<T>>
    {
        // ComItf must have at least one valid interface pointer.
        if automation.is_none() && raw.is_none() {
            return None;
        }
        Some(ComItf {
            raw_ptr: raw,
            automation_ptr: automation,
            phantom: PhantomData,
        })
    }
pub fn maybe_new ( automation : Option < raw :: InterfacePtr < AutomationTypeSystem , T > > , raw : Option < raw :: InterfacePtr < RawTypeSystem , T > > , ) -> Option < ComItf < T > > { // ComItf must have at least one valid interface pointer. if automation . is_none ( ) && raw . is_none ( ) { return None ; } Some ( ComItf { raw_ptr : raw , automation_ptr : automation , phantom : PhantomData , } ) }
Creates a `ComItf<T>` from a raw type system COM interface pointer..
Creates a ` ComItf<T > ` from a raw type system COM interface pointer ..
automation
Option<raw::InterfacePtr<AutomationTypeSystem, T>>
raw
Option<raw::InterfacePtr<RawTypeSystem, T>>
automation
Option<raw::InterfacePtr<AutomationTypeSystem, T>>
raw
Option<raw::InterfacePtr<RawTypeSystem, T>>