We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e70e3 commit dca2005Copy full SHA for dca2005
crates/objc2/src/mutability.rs
@@ -15,7 +15,9 @@
15
//! (can be done inside [`extern_class!`] and [`declare_class!`]).
16
//!
17
//! Note that precious little of Objective-C follows Rust's usual shared xor
18
-//! unique ownership model, most often objects assume interior mutability.
+//! unique ownership model, most often objects assume interior mutability, so
19
+//! a safe default is often [`InteriorMutable`], or of you're working with GUI
20
+//! code, [`MainThreadOnly`].
21
22
//! [`UnsafeCell`]: core::cell::UnsafeCell
23
//! [`ClassType::Mutability`]: crate::ClassType::Mutability
0 commit comments