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§
fn unregisterForTraitChanges( &self, registration: &ProtocolObject<dyn UITraitChangeRegistration>, )
Trait Implementations§
Source§impl ProtocolType for dyn UITraitChangeObservable
impl ProtocolType for dyn UITraitChangeObservable
impl<T> ImplementedBy<T> for dyn UITraitChangeObservable
Implementations on Foreign Types§
impl<T> UITraitChangeObservable for ProtocolObject<T>where
T: ?Sized + UITraitChangeObservable,
Implementors§
impl UITraitChangeObservable for UIPresentationController
Available on crate feature
UIPresentationController only.impl UITraitChangeObservable for UIView
Available on crate feature
UIView only.impl UITraitChangeObservable for UIViewController
Available on crate feature
UIViewController only.impl UITraitChangeObservable for UIWindowScene
Available on crate feature
UIWindowScene only.