Trait objc2::mutability::IsAllocableAnyThread
source · pub unsafe trait IsAllocableAnyThread: Sealed { }Expand description
Marker trait for classes that can be allocated from any thread.
This is implemented for classes whose ClassType::Mutability is one of:
Root.Immutable.Mutable.ImmutableWithMutableSubclass.MutableWithImmutableSuperclass.InteriorMutable.
§Safety
This is a sealed trait, and should not need to be implemented. Open an issue if you know a use-case where this restrition should be lifted!