Trait objc2_ui_kit::UIFocusItem

source ·
pub unsafe trait UIFocusItem: UIFocusEnvironment + IsMainThreadOnly {
    // Provided methods
    unsafe fn canBecomeFocused(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn frame(&self) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>
       where Self: Sized + Message { ... }
    unsafe fn focusGroupPriority(&self) -> UIFocusGroupPriority
       where Self: Sized + Message { ... }
    unsafe fn isTransparentFocusItem(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn didHintFocusMovement(&self, hint: &UIFocusMovementHint)
       where Self: Sized + Message { ... }
}
Available on crate feature UIFocus only.

Provided Methods§

source

unsafe fn canBecomeFocused(&self) -> bool
where Self: Sized + Message,

source

unsafe fn frame(&self) -> CGRect
where Self: Sized + Message,

source

unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>
where Self: Sized + Message,

Available on crate feature UIFocusEffect only.
source

unsafe fn focusGroupPriority(&self) -> UIFocusGroupPriority
where Self: Sized + Message,

source

unsafe fn isTransparentFocusItem(&self) -> bool
where Self: Sized + Message,

source

unsafe fn didHintFocusMovement(&self, hint: &UIFocusMovementHint)
where Self: Sized + Message,

Available on crate feature UIFocusMovementHint only.

Trait Implementations§

source§

impl ProtocolType for dyn UIFocusItem

source§

const NAME: &'static str = "UIFocusItem"

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 UIFocusItem
where T: ?Sized + Message + UIFocusItem,

Implementations on Foreign Types§

source§

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

Implementors§

source§

impl UIFocusItem for UIActionSheet

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

impl UIFocusItem for UIActivityIndicatorView

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

impl UIFocusItem for UIAlertView

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

impl UIFocusItem for UIButton

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

impl UIFocusItem for UICalendarView

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

impl UIFocusItem for UICollectionReusableView

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

impl UIFocusItem for UICollectionView

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

impl UIFocusItem for UICollectionViewCell

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

impl UIFocusItem for UICollectionViewListCell

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

impl UIFocusItem for UIColorWell

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

impl UIFocusItem for UIContentUnavailableView

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

impl UIFocusItem for UIControl

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

impl UIFocusItem for UIDatePicker

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

impl UIFocusItem for UIEventAttributionView

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

impl UIFocusItem for UIImageView

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

impl UIFocusItem for UIInputView

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

impl UIFocusItem for UILabel

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

impl UIFocusItem for UIListContentView

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

impl UIFocusItem for UINavigationBar

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

impl UIFocusItem for UIPageControl

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

impl UIFocusItem for UIPasteControl

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

impl UIFocusItem for UIPickerView

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

impl UIFocusItem for UIPopoverBackgroundView

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

impl UIFocusItem for UIProgressView

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

impl UIFocusItem for UIRefreshControl

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

impl UIFocusItem for UIScrollView

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

impl UIFocusItem for UISearchBar

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

impl UIFocusItem for UISearchTextField

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

impl UIFocusItem for UISegmentedControl

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

impl UIFocusItem for UISlider

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

impl UIFocusItem for UIStackView

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

impl UIFocusItem for UIStandardTextCursorView

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

impl UIFocusItem for UIStepper

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

impl UIFocusItem for UISwitch

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

impl UIFocusItem for UITabBar

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

impl UIFocusItem for UITableView

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

impl UIFocusItem for UITableViewCell

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

impl UIFocusItem for UITableViewHeaderFooterView

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

impl UIFocusItem for UITextField

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

impl UIFocusItem for UITextView

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

impl UIFocusItem for UIToolbar

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

impl UIFocusItem for UIView

Available on crate features UIResponder and UIView only.
source§

impl UIFocusItem for UIVisualEffectView

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

impl UIFocusItem for UIWebView

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

impl UIFocusItem for UIWindow

Available on crate features UIResponder and UIView and UIWindow only.