Function expand_com_interface

Source
pub fn expand_com_interface(
    attr_tokens: TokenStreamNightly,
    item_tokens: TokenStreamNightly,
) -> Result<TokenStreamNightly, ParseError>
Expand description

Expands the com_interface attribute.

The attribute expansion results in the following items:

  • Global IID for the interface.
  • Virtual table struct definition for the interface.
  • Implementation for the delegating methods when calling the COM interface from Rust.