Trait objc2_ui_kit::UITraitDefinition

source ·
pub unsafe trait UITraitDefinition: IsMainThreadOnly {
    // Provided methods
    unsafe fn identifier(mtm: MainThreadMarker) -> Retained<NSString>
       where Self: Sized + ClassType { ... }
    unsafe fn name(mtm: MainThreadMarker) -> Retained<NSString>
       where Self: Sized + ClassType { ... }
    unsafe fn affectsColorAppearance(mtm: MainThreadMarker) -> bool
       where Self: Sized + ClassType { ... }
}
Available on crate feature UITrait only.

Provided Methods§

Trait Implementations§

source§

impl ProtocolType for dyn UITraitDefinition

source§

const NAME: &'static str = "UITraitDefinition"

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 UITraitDefinition

Implementations on Foreign Types§

source§

impl<T> UITraitDefinition for ProtocolObject<T>

Implementors§