pub unsafe trait UIAppearance: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn appearance(mtm: MainThreadMarker) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn appearanceWhenContainedInInstancesOfClasses(
container_types: &NSArray<AnyClass>,
mtm: MainThreadMarker,
) -> Retained<Self>
where Self: Sized + ClassType { ... }
fn appearanceForTraitCollection(
trait: &UITraitCollection,
mtm: MainThreadMarker,
) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses(
trait: &UITraitCollection,
container_types: &NSArray<AnyClass>,
mtm: MainThreadMarker,
) -> Retained<Self>
where Self: Sized + ClassType { ... }
}Available on crate feature
UIAppearance only.Expand description
Provided Methods§
fn appearance(mtm: MainThreadMarker) -> Retained<Self>
Sourceunsafe fn appearanceWhenContainedInInstancesOfClasses(
container_types: &NSArray<AnyClass>,
mtm: MainThreadMarker,
) -> Retained<Self>
unsafe fn appearanceWhenContainedInInstancesOfClasses( container_types: &NSArray<AnyClass>, mtm: MainThreadMarker, ) -> Retained<Self>
§Safety
container_types generic must implement UIAppearanceContainer.
fn appearanceForTraitCollection( trait: &UITraitCollection, mtm: MainThreadMarker, ) -> Retained<Self>
Available on crate feature
UITraitCollection only.Sourceunsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses(
trait: &UITraitCollection,
container_types: &NSArray<AnyClass>,
mtm: MainThreadMarker,
) -> Retained<Self>
Available on crate feature UITraitCollection only.
unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses( trait: &UITraitCollection, container_types: &NSArray<AnyClass>, mtm: MainThreadMarker, ) -> Retained<Self>
UITraitCollection only.§Safety
container_types generic must implement UIAppearanceContainer.
Trait Implementations§
Source§impl ProtocolType for dyn UIAppearance
impl ProtocolType for dyn UIAppearance
impl<T> ImplementedBy<T> for dyn UIAppearance
Implementations on Foreign Types§
impl<T> UIAppearance for ProtocolObject<T>where
T: ?Sized + UIAppearance,
Implementors§
impl UIAppearance for UIActionSheet
Available on crate feature
UIActionSheet only.impl UIAppearance for UIActivityIndicatorView
Available on crate feature
UIActivityIndicatorView only.impl UIAppearance for UIAlertView
Available on crate feature
UIAlertView only.impl UIAppearance for UIBackgroundExtensionView
Available on crate feature
UIBackgroundExtensionView only.impl UIAppearance for UIBarButtonItem
Available on crate feature
UIBarButtonItem only.impl UIAppearance for UIBarItem
Available on crate feature
UIBarItem only.impl UIAppearance for UIButton
Available on crate feature
UIButton only.impl UIAppearance for UICalendarView
Available on crate feature
UICalendarView only.impl UIAppearance for UICollectionReusableView
Available on crate feature
UICollectionViewCell only.impl UIAppearance for UICollectionView
Available on crate feature
UICollectionView only.impl UIAppearance for UICollectionViewCell
Available on crate feature
UICollectionViewCell only.impl UIAppearance for UICollectionViewListCell
Available on crate feature
UICollectionViewListCell only.impl UIAppearance for UIColorWell
Available on crate feature
UIColorWell only.impl UIAppearance for UIControl
Available on crate feature
UIControl only.impl UIAppearance for UIDatePicker
Available on crate feature
UIDatePicker only.impl UIAppearance for UIEventAttributionView
Available on crate feature
UIEventAttributionView only.impl UIAppearance for UIImageView
Available on crate feature
UIImageView only.impl UIAppearance for UIInputView
Available on crate feature
UIInputView only.impl UIAppearance for UILabel
Available on crate feature
UILabel only.impl UIAppearance for UIListContentView
Available on crate feature
UIListContentConfiguration only.impl UIAppearance for UIPageControl
Available on crate feature
UIPageControl only.impl UIAppearance for UIPasteControl
Available on crate feature
UIPasteControl only.impl UIAppearance for UIPickerView
Available on crate feature
UIPickerView only.impl UIAppearance for UIPopoverBackgroundView
Available on crate feature
UIPopoverBackgroundView only.impl UIAppearance for UIProgressView
Available on crate feature
UIProgressView only.impl UIAppearance for UIRefreshControl
Available on crate feature
UIRefreshControl only.impl UIAppearance for UIScrollView
Available on crate feature
UIScrollView only.impl UIAppearance for UISearchBar
Available on crate feature
UISearchBar only.impl UIAppearance for UISearchTextField
Available on crate feature
UISearchTextField only.impl UIAppearance for UISegmentedControl
Available on crate feature
UISegmentedControl only.impl UIAppearance for UISlider
Available on crate feature
UISlider only.impl UIAppearance for UIStackView
Available on crate feature
UIStackView only.impl UIAppearance for UIStandardTextCursorView
Available on crate feature
UIStandardTextCursorView only.impl UIAppearance for UIStepper
Available on crate feature
UIStepper only.impl UIAppearance for UISwitch
Available on crate feature
UISwitch only.impl UIAppearance for UITabBar
Available on crate feature
UITabBar only.impl UIAppearance for UITabBarItem
Available on crate feature
UITabBarItem only.impl UIAppearance for UITableView
Available on crate feature
UITableView only.impl UIAppearance for UITableViewCell
Available on crate feature
UITableViewCell only.impl UIAppearance for UITextField
Available on crate feature
UITextField only.impl UIAppearance for UITextView
Available on crate feature
UITextView only.impl UIAppearance for UIToolbar
Available on crate feature
UIToolbar only.impl UIAppearance for UIView
Available on crate feature
UIView only.impl UIAppearance for UIVisualEffectView
Available on crate feature
UIVisualEffectView only.impl UIAppearance for UIWebView
Available on crate feature
UIWebView only.impl UIAppearance for UIWindow
Available on crate feature
UIWindow only.