Attribute Macro windows::implement [−][src]
#[implement]
Expand description
Rust structs can use the implement
macro to implement entire WinRT classes or
any combination of existing COM and WinRT interfaces.
If the attribute 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.