Attribute Macro windows::implement[][src]

#[implement]
Expand description

Rust structs can use the implement attribute macro to implement entire WinRT 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.