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§

source

unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
where Self: Sized + ClassType,

source

unsafe fn appearanceWhenContainedInInstancesOfClasses( container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
where Self: Sized + ClassType,

source

unsafe fn appearanceForTraitCollection( trait: &UITraitCollection, mtm: MainThreadMarker ) -> Retained<Self>
where Self: Sized + ClassType,

Available on crate feature UITraitCollection only.
source

unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses( trait: &UITraitCollection, container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
where Self: Sized + ClassType,

Available on crate feature UITraitCollection only.

Trait Implementations§

source§

impl ProtocolType for dyn UIAppearance

source§

const NAME: &'static str = "UIAppearance"

The name of the Objective-C protocol that this type represents.
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 UIAppearance
where T: ?Sized + Message + UIAppearance,

Implementations on Foreign Types§

source§

impl<T> UIAppearance for ProtocolObject<T>
where T: ?Sized + UIAppearance,

Implementors§

source§

impl UIAppearance for UIActionSheet

Available on crate features UIResponder and UIView and UIActionSheet only.
source§

impl UIAppearance for UIActivityIndicatorView

Available on crate features UIResponder and UIView and UIActivityIndicatorView only.
source§

impl UIAppearance for UIAlertView

Available on crate features UIResponder and UIView and UIAlertView only.
source§

impl UIAppearance for UIBarButtonItem

Available on crate features UIBarItem and UIBarButtonItem only.
source§

impl UIAppearance for UIBarItem

Available on crate feature UIBarItem only.
source§

impl UIAppearance for UIButton

Available on crate features UIControl and UIResponder and UIView and UIButton only.
source§

impl UIAppearance for UICalendarView

Available on crate features UIResponder and UIView and UICalendarView only.
source§

impl UIAppearance for UICollectionReusableView

Available on crate features UIResponder and UIView and UICollectionViewCell only.
source§

impl UIAppearance for UICollectionView

Available on crate features UIResponder and UIScrollView and UIView and UICollectionView only.
source§

impl UIAppearance for UICollectionViewCell

Available on crate features UIResponder and UIView and UICollectionViewCell only.
source§

impl UIAppearance for UICollectionViewListCell

Available on crate features UICollectionViewCell and UIResponder and UIView and UICollectionViewListCell only.
source§

impl UIAppearance for UIColorWell

Available on crate features UIControl and UIResponder and UIView and UIColorWell only.
source§

impl UIAppearance for UIContentUnavailableView

Available on crate features UIResponder and UIView and UIContentUnavailableView only.
source§

impl UIAppearance for UIControl

Available on crate features UIResponder and UIView and UIControl only.
source§

impl UIAppearance for UIDatePicker

Available on crate features UIControl and UIResponder and UIView and UIDatePicker only.
source§

impl UIAppearance for UIEventAttributionView

Available on crate features UIResponder and UIView and UIEventAttributionView only.
source§

impl UIAppearance for UIImageView

Available on crate features UIResponder and UIView and UIImageView only.
source§

impl UIAppearance for UIInputView

Available on crate features UIResponder and UIView and UIInputView only.
source§

impl UIAppearance for UILabel

Available on crate features UIResponder and UIView and UILabel only.
source§

impl UIAppearance for UIListContentView

Available on crate features UIResponder and UIView and UIListContentConfiguration only.
source§

impl UIAppearance for UINavigationBar

Available on crate features UIResponder and UIView and UINavigationBar only.
source§

impl UIAppearance for UIPageControl

Available on crate features UIControl and UIResponder and UIView and UIPageControl only.
source§

impl UIAppearance for UIPasteControl

Available on crate features UIControl and UIResponder and UIView and UIPasteControl only.
source§

impl UIAppearance for UIPickerView

Available on crate features UIResponder and UIView and UIPickerView only.
source§

impl UIAppearance for UIPopoverBackgroundView

Available on crate features UIResponder and UIView and UIPopoverBackgroundView only.
source§

impl UIAppearance for UIProgressView

Available on crate features UIResponder and UIView and UIProgressView only.
source§

impl UIAppearance for UIRefreshControl

Available on crate features UIControl and UIResponder and UIView and UIRefreshControl only.
source§

impl UIAppearance for UIScrollView

Available on crate features UIResponder and UIView and UIScrollView only.
source§

impl UIAppearance for UISearchBar

Available on crate features UIResponder and UIView and UISearchBar only.
source§

impl UIAppearance for UISearchTextField

Available on crate features UIControl and UIResponder and UITextField and UIView and UISearchTextField only.
source§

impl UIAppearance for UISegmentedControl

Available on crate features UIControl and UIResponder and UIView and UISegmentedControl only.
source§

impl UIAppearance for UISlider

Available on crate features UIControl and UIResponder and UIView and UISlider only.
source§

impl UIAppearance for UIStackView

Available on crate features UIResponder and UIView and UIStackView only.
source§

impl UIAppearance for UIStandardTextCursorView

Available on crate features UIResponder and UIView and UIStandardTextCursorView only.
source§

impl UIAppearance for UIStepper

Available on crate features UIControl and UIResponder and UIView and UIStepper only.
source§

impl UIAppearance for UISwitch

Available on crate features UIControl and UIResponder and UIView and UISwitch only.
source§

impl UIAppearance for UITabBar

Available on crate features UIResponder and UIView and UITabBar only.
source§

impl UIAppearance for UITabBarItem

Available on crate features UIBarItem and UITabBarItem only.
source§

impl UIAppearance for UITableView

Available on crate features UIResponder and UIScrollView and UIView and UITableView only.
source§

impl UIAppearance for UITableViewCell

Available on crate features UIResponder and UIView and UITableViewCell only.
source§

impl UIAppearance for UITableViewHeaderFooterView

Available on crate features UIResponder and UIView and UITableViewHeaderFooterView only.
source§

impl UIAppearance for UITextField

Available on crate features UIControl and UIResponder and UIView and UITextField only.
source§

impl UIAppearance for UITextView

Available on crate features UIResponder and UIScrollView and UIView and UITextView only.
source§

impl UIAppearance for UIToolbar

Available on crate features UIResponder and UIView and UIToolbar only.
source§

impl UIAppearance for UIView

Available on crate features UIResponder and UIView only.
source§

impl UIAppearance for UIVisualEffectView

Available on crate features UIResponder and UIView and UIVisualEffectView only.
source§

impl UIAppearance for UIWebView

Available on crate features UIResponder and UIView and UIWebView only.
source§

impl UIAppearance for UIWindow

Available on crate features UIResponder and UIView and UIWindow only.