blob: 60d2354fbbec4c54f557cee2674b6d35ff792c38 [file] [log] [blame]
/// A trait for retrieving the implementation behind a COM or WinRT interface.
///
/// This trait is automatically implemented when using the `implement` macro.
pub trait AsImpl<T> {
fn as_impl(&self) -> &T;
}