pub unsafe trait UIObjectTraitDefinition: UITraitDefinition + MainThreadOnly {
// Provided method
unsafe fn defaultValue(
mtm: MainThreadMarker,
) -> Option<Retained<ProtocolObject<dyn NSObjectProtocol>>>
where Self: Sized + ClassType { ... }
}
Available on crate feature
UITrait
only.Expand description
Provided Methods§
Sourceunsafe fn defaultValue(
mtm: MainThreadMarker,
) -> Option<Retained<ProtocolObject<dyn NSObjectProtocol>>>
unsafe fn defaultValue( mtm: MainThreadMarker, ) -> Option<Retained<ProtocolObject<dyn NSObjectProtocol>>>
The default value for this trait in a trait collection when no value has been set.