[][src]Function intercom_common::attributes::expand_com_interface

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

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.