//! Defined here instead of in `objc2-foundation` since it's a root object, //! and the `extern_class!` macro doesn't support those (yet). use core::fmt; use core::hash;
/// An abstract superclass defining an API for objects that act as /// stand-ins for other objects or for objects that don’t exist yet. /// /// See [Apple's documentation][apple-doc] for more information. /// /// [apple-doc]: https://developer.apple.com/documentation/foundation/nsproxy?language=objc #[repr(C)] pubstruct NSProxy {
__superclass: AnyObject,
}
// We don't know anything about NSProxy's thread safety, so we don't do // the same workaround for that as we do for NSObject. type __SubclassingType = Self;
}
unsafeimpl DowncastTarget for NSProxy {}
extern_conformance!( unsafeimpl NSObjectProtocol for NSProxy {}
);
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.