Skip to main content

UITraitChangeRegistration

Trait UITraitChangeRegistration 

Source
pub unsafe trait UITraitChangeRegistration:
    NSObjectProtocol
    + NSCopying
    + MainThreadOnly { }
Available on crate feature UITraitCollection only.
Expand description

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UITraitChangeRegistration

Source§

impl ProtocolType for dyn UITraitChangeRegistration

Source§

const NAME: &'static str = "UITraitChangeRegistration"

The name of the Objective-C protocol that this type represents. Read more
Source§

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UITraitChangeRegistration for ProtocolObject<T>

Implementors§