Trait windows::ToImpl[][src]

pub trait ToImpl<T: Interface> {
    unsafe fn to_impl(from: &T) -> &mut Self;
}
Expand description

A trait for retrieving the implementation behind a COM or WinRT interface.

This trait is automatically implemented when using the implement macro but is considered unsafe since different implemenetations of the from interface

Required methods

Implementors