pub unsafe trait UITraitChangeObservable: IsMainThreadOnly {
// Provided method
unsafe fn unregisterForTraitChanges(
&self,
registration: &ProtocolObject<dyn UITraitChangeRegistration>
)
where Self: Sized + Message { ... }
}
Available on crate feature
UITraitCollection
only.Provided Methods§
unsafe 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 features
UIResponder
and UIView
only.impl UITraitChangeObservable for UIViewController
Available on crate features
UIResponder
and UIViewController
only.impl UITraitChangeObservable for UIWindowScene
Available on crate features
UIResponder
and UIScene
and UIWindowScene
only.