Skip to main content

ComObjectInterface

Trait ComObjectInterface 

pub trait ComObjectInterface<I: Interface> {
    // Required method
    fn as_interface_ref(&self) -> InterfaceRef<'_, I>;
}
Expand description

Describes the COM interfaces implemented by a specific COM object.

This is an implementation detail generated on “outer” types such as MyApp_Impl.

Required Methods§

fn as_interface_ref(&self) -> InterfaceRef<'_, I>

Gets a borrowed interface that is implemented by T.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§