Attribute Macro windows_macros::implement[][src]

#[implement]
Expand description

Rust structs can use the implement attribute macro to implement entire WinRT or COM classes or any combination of existing COM and WinRT interfaces.

If the attribute proc_macro::TokenStream contains the name of a WinRT class then all of its interfaces are implemented. Otherwise, whatever interfaces are contained within the attribute TokenStream are implemented.