Trait objc2_ui_kit::UIObjectTraitDefinition

source ·
pub unsafe trait UIObjectTraitDefinition: UITraitDefinition + IsMainThreadOnly {
    // Provided method
    unsafe fn defaultValue(mtm: MainThreadMarker) -> Option<Retained<NSObject>>
       where Self: Sized + ClassType { ... }
}
Available on crate feature UITrait only.

Provided Methods§

Trait Implementations§

source§

impl ProtocolType for dyn UIObjectTraitDefinition

source§

const NAME: &'static str = "UIObjectTraitDefinition"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UIObjectTraitDefinition

Implementations on Foreign Types§

source§

impl<T> UIObjectTraitDefinition for ProtocolObject<T>

Implementors§