UITraitChangeObservable

Trait UITraitChangeObservable 

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

Provided Methods§

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 feature UIView only.
Source§

impl UITraitChangeObservable for UIViewController

Available on crate feature UIViewController only.
Source§

impl UITraitChangeObservable for UIWindowScene

Available on crate feature UIWindowScene only.