Trait com_scrape_types::Class
source · pub trait Class {
type Interfaces: InterfaceList;
}
Expand description
A Rust type that defines a COM class.
Must be implemented for a type to be used with ComWrapper
.
Required Associated Types§
sourcetype Interfaces: InterfaceList
type Interfaces: InterfaceList
The list of interfaces implemented by this Rust type.
Should be given as a tuple, e.g.:
ⓘ
struct MyClass;
impl Class for MyClass {
type Interfaces = (ISomeInterface, IAnotherInterface);
}