Trait objc2_ui_kit::UIAppearance
source · pub unsafe trait UIAppearance: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn appearanceWhenContainedInInstancesOfClasses(
container_types: &NSArray<TodoClass>,
mtm: MainThreadMarker
) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn appearanceForTraitCollection(
trait: &UITraitCollection,
mtm: MainThreadMarker
) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses(
trait: &UITraitCollection,
container_types: &NSArray<TodoClass>,
mtm: MainThreadMarker
) -> Retained<Self>
where Self: Sized + ClassType { ... }
}
Available on crate feature
UIAppearance
only.Provided Methods§
unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
unsafe fn appearanceWhenContainedInInstancesOfClasses( container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
unsafe fn appearanceForTraitCollection( trait: &UITraitCollection, mtm: MainThreadMarker ) -> Retained<Self>
Available on crate feature
UITraitCollection
only.unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses( trait: &UITraitCollection, container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
Available on crate feature
UITraitCollection
only.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 features
UIResponder
and UIView
and UIActionSheet
only.impl UIAppearance for UIActivityIndicatorView
Available on crate features
UIResponder
and UIView
and UIActivityIndicatorView
only.impl UIAppearance for UIAlertView
Available on crate features
UIResponder
and UIView
and UIAlertView
only.impl UIAppearance for UIBarButtonItem
Available on crate features
UIBarItem
and UIBarButtonItem
only.impl UIAppearance for UIBarItem
Available on crate feature
UIBarItem
only.impl UIAppearance for UIButton
Available on crate features
UIControl
and UIResponder
and UIView
and UIButton
only.impl UIAppearance for UICalendarView
Available on crate features
UIResponder
and UIView
and UICalendarView
only.impl UIAppearance for UICollectionReusableView
Available on crate features
UIResponder
and UIView
and UICollectionViewCell
only.impl UIAppearance for UICollectionView
Available on crate features
UIResponder
and UIScrollView
and UIView
and UICollectionView
only.impl UIAppearance for UICollectionViewCell
Available on crate features
UIResponder
and UIView
and UICollectionViewCell
only.impl UIAppearance for UICollectionViewListCell
Available on crate features
UICollectionViewCell
and UIResponder
and UIView
and UICollectionViewListCell
only.impl UIAppearance for UIColorWell
Available on crate features
UIControl
and UIResponder
and UIView
and UIColorWell
only.impl UIAppearance for UIControl
Available on crate features
UIResponder
and UIView
and UIControl
only.impl UIAppearance for UIDatePicker
Available on crate features
UIControl
and UIResponder
and UIView
and UIDatePicker
only.impl UIAppearance for UIEventAttributionView
Available on crate features
UIResponder
and UIView
and UIEventAttributionView
only.impl UIAppearance for UIImageView
Available on crate features
UIResponder
and UIView
and UIImageView
only.impl UIAppearance for UIInputView
Available on crate features
UIResponder
and UIView
and UIInputView
only.impl UIAppearance for UILabel
Available on crate features
UIResponder
and UIView
and UILabel
only.impl UIAppearance for UIListContentView
Available on crate features
UIResponder
and UIView
and UIListContentConfiguration
only.impl UIAppearance for UIPageControl
Available on crate features
UIControl
and UIResponder
and UIView
and UIPageControl
only.impl UIAppearance for UIPasteControl
Available on crate features
UIControl
and UIResponder
and UIView
and UIPasteControl
only.impl UIAppearance for UIPickerView
Available on crate features
UIResponder
and UIView
and UIPickerView
only.impl UIAppearance for UIPopoverBackgroundView
Available on crate features
UIResponder
and UIView
and UIPopoverBackgroundView
only.impl UIAppearance for UIProgressView
Available on crate features
UIResponder
and UIView
and UIProgressView
only.impl UIAppearance for UIRefreshControl
Available on crate features
UIControl
and UIResponder
and UIView
and UIRefreshControl
only.impl UIAppearance for UIScrollView
Available on crate features
UIResponder
and UIView
and UIScrollView
only.impl UIAppearance for UISearchBar
Available on crate features
UIResponder
and UIView
and UISearchBar
only.impl UIAppearance for UISearchTextField
Available on crate features
UIControl
and UIResponder
and UITextField
and UIView
and UISearchTextField
only.impl UIAppearance for UISegmentedControl
Available on crate features
UIControl
and UIResponder
and UIView
and UISegmentedControl
only.impl UIAppearance for UISlider
Available on crate features
UIControl
and UIResponder
and UIView
and UISlider
only.impl UIAppearance for UIStackView
Available on crate features
UIResponder
and UIView
and UIStackView
only.impl UIAppearance for UIStandardTextCursorView
Available on crate features
UIResponder
and UIView
and UIStandardTextCursorView
only.impl UIAppearance for UIStepper
Available on crate features
UIControl
and UIResponder
and UIView
and UIStepper
only.impl UIAppearance for UISwitch
Available on crate features
UIControl
and UIResponder
and UIView
and UISwitch
only.impl UIAppearance for UITabBar
Available on crate features
UIResponder
and UIView
and UITabBar
only.impl UIAppearance for UITabBarItem
Available on crate features
UIBarItem
and UITabBarItem
only.impl UIAppearance for UITableView
Available on crate features
UIResponder
and UIScrollView
and UIView
and UITableView
only.impl UIAppearance for UITableViewCell
Available on crate features
UIResponder
and UIView
and UITableViewCell
only.impl UIAppearance for UITextField
Available on crate features
UIControl
and UIResponder
and UIView
and UITextField
only.impl UIAppearance for UITextView
Available on crate features
UIResponder
and UIScrollView
and UIView
and UITextView
only.impl UIAppearance for UIToolbar
Available on crate features
UIResponder
and UIView
and UIToolbar
only.impl UIAppearance for UIView
Available on crate features
UIResponder
and UIView
only.impl UIAppearance for UIVisualEffectView
Available on crate features
UIResponder
and UIView
and UIVisualEffectView
only.impl UIAppearance for UIWebView
Available on crate features
UIResponder
and UIView
and UIWebView
only.impl UIAppearance for UIWindow
Available on crate features
UIResponder
and UIView
and UIWindow
only.