1 2 3 4 5 6
/// 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; }