Trait UITraitChangeObservable

Source
pub unsafe trait UITraitChangeObservable: MainThreadOnly {
    // Provided method
    unsafe fn unregisterForTraitChanges(
        &self,
        registration: &ProtocolObject<dyn UITraitChangeRegistration>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UITraitCollection only.
Expand description

Provided Methods§

Source

unsafe fn unregisterForTraitChanges( &self, registration: &ProtocolObject<dyn UITraitChangeRegistration>, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UITraitChangeObservable

Source§

const NAME: &'static str = "UITraitChangeObservable"

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
Source§

impl<T> ImplementedBy<T> for dyn UITraitChangeObservable

Implementations on Foreign Types§

Source§

impl<T> UITraitChangeObservable for ProtocolObject<T>

Implementors§

Source§

impl UITraitChangeObservable for UIPresentationController

Available on crate feature UIPresentationController only.
Source§

impl UITraitChangeObservable for UIView

Available on crate features UIResponder and UIView only.
Source§

impl UITraitChangeObservable for UIViewController

Available on crate features UIResponder and UIViewController only.
Source§

impl UITraitChangeObservable for UIWindowScene

Available on crate features UIResponder and UIScene and UIWindowScene only.