/// A trait for retrieving the implementation behind a COM or WinRT interface. /// /// This trait is automatically implemented when using the `implement` macro. pubtrait AsImpl<T> { /// # Safety /// /// The caller needs to ensure that `self` is actually implemented by the /// implementation `T`. unsafefn as_impl(&self) -> &T { self.as_impl_ptr().as_ref()
}
/// Returns a pointer to the implementation object. /// /// # Safety /// /// The caller needs to ensure that `self` is actually implemented by the /// implementation `T`. unsafefn as_impl_ptr(&self) -> core::ptr::NonNull<T>;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-19)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.