UICoordinateSpace

Trait UICoordinateSpace 

Source
pub unsafe trait UICoordinateSpace: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn convertPoint_toCoordinateSpace(
        &self,
        point: CGPoint,
        coordinate_space: &ProtocolObject<dyn UICoordinateSpace>,
    ) -> CGPoint
       where Self: Sized + Message { ... }
    fn convertPoint_fromCoordinateSpace(
        &self,
        point: CGPoint,
        coordinate_space: &ProtocolObject<dyn UICoordinateSpace>,
    ) -> CGPoint
       where Self: Sized + Message { ... }
    fn convertRect_toCoordinateSpace(
        &self,
        rect: CGRect,
        coordinate_space: &ProtocolObject<dyn UICoordinateSpace>,
    ) -> CGRect
       where Self: Sized + Message { ... }
    fn convertRect_fromCoordinateSpace(
        &self,
        rect: CGRect,
        coordinate_space: &ProtocolObject<dyn UICoordinateSpace>,
    ) -> CGRect
       where Self: Sized + Message { ... }
    fn bounds(&self) -> CGRect
       where Self: Sized + Message { ... }
}
Available on crate feature UIView only.
Expand description

Provided Methods§

Source

fn convertPoint_toCoordinateSpace( &self, point: CGPoint, coordinate_space: &ProtocolObject<dyn UICoordinateSpace>, ) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn convertPoint_fromCoordinateSpace( &self, point: CGPoint, coordinate_space: &ProtocolObject<dyn UICoordinateSpace>, ) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn convertRect_toCoordinateSpace( &self, rect: CGRect, coordinate_space: &ProtocolObject<dyn UICoordinateSpace>, ) -> CGRect
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn convertRect_fromCoordinateSpace( &self, rect: CGRect, coordinate_space: &ProtocolObject<dyn UICoordinateSpace>, ) -> CGRect
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

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

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UICoordinateSpace

Source§

const NAME: &'static str = "UICoordinateSpace"

The name of the Objective-C protocol that this type represents. Read more
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 UICoordinateSpace

Implementations on Foreign Types§

Source§

impl<T> UICoordinateSpace for ProtocolObject<T>

Implementors§

Source§

impl UICoordinateSpace for UIActionSheet

Available on crate feature UIActionSheet only.
Source§

impl UICoordinateSpace for UIActivityIndicatorView

Available on crate feature UIActivityIndicatorView only.
Source§

impl UICoordinateSpace for UIAlertView

Available on crate feature UIAlertView only.
Source§

impl UICoordinateSpace for UIBackgroundExtensionView

Available on crate feature UIBackgroundExtensionView only.
Source§

impl UICoordinateSpace for UIButton

Available on crate feature UIButton only.
Source§

impl UICoordinateSpace for UICalendarView

Available on crate feature UICalendarView only.
Source§

impl UICoordinateSpace for UICollectionReusableView

Available on crate feature UICollectionViewCell only.
Source§

impl UICoordinateSpace for UICollectionView

Available on crate feature UICollectionView only.
Source§

impl UICoordinateSpace for UICollectionViewCell

Available on crate feature UICollectionViewCell only.
Source§

impl UICoordinateSpace for UICollectionViewListCell

Available on crate feature UICollectionViewListCell only.
Source§

impl UICoordinateSpace for UIColorWell

Available on crate feature UIColorWell only.
Source§

impl UICoordinateSpace for UIContentUnavailableView

Available on crate feature UIContentUnavailableView only.
Source§

impl UICoordinateSpace for UIControl

Available on crate feature UIControl only.
Source§

impl UICoordinateSpace for UIDatePicker

Available on crate feature UIDatePicker only.
Source§

impl UICoordinateSpace for UIEventAttributionView

Available on crate feature UIEventAttributionView only.
Source§

impl UICoordinateSpace for UIImageView

Available on crate feature UIImageView only.
Source§

impl UICoordinateSpace for UIInputView

Available on crate feature UIInputView only.
Source§

impl UICoordinateSpace for UILabel

Available on crate feature UILabel only.
Source§

impl UICoordinateSpace for UIListContentView

Available on crate feature UIListContentConfiguration only.
Source§

impl UICoordinateSpace for UINavigationBar

Available on crate feature UINavigationBar only.
Source§

impl UICoordinateSpace for UIPageControl

Available on crate feature UIPageControl only.
Source§

impl UICoordinateSpace for UIPasteControl

Available on crate feature UIPasteControl only.
Source§

impl UICoordinateSpace for UIPickerView

Available on crate feature UIPickerView only.
Source§

impl UICoordinateSpace for UIPopoverBackgroundView

Available on crate feature UIPopoverBackgroundView only.
Source§

impl UICoordinateSpace for UIProgressView

Available on crate feature UIProgressView only.
Source§

impl UICoordinateSpace for UIRefreshControl

Available on crate feature UIRefreshControl only.
Source§

impl UICoordinateSpace for UIScrollView

Available on crate feature UIScrollView only.
Source§

impl UICoordinateSpace for UISearchBar

Available on crate feature UISearchBar only.
Source§

impl UICoordinateSpace for UISearchTextField

Available on crate feature UISearchTextField only.
Source§

impl UICoordinateSpace for UISegmentedControl

Available on crate feature UISegmentedControl only.
Source§

impl UICoordinateSpace for UISlider

Available on crate feature UISlider only.
Source§

impl UICoordinateSpace for UIStackView

Available on crate feature UIStackView only.
Source§

impl UICoordinateSpace for UIStandardTextCursorView

Available on crate feature UIStandardTextCursorView only.
Source§

impl UICoordinateSpace for UIStepper

Available on crate feature UIStepper only.
Source§

impl UICoordinateSpace for UISwitch

Available on crate feature UISwitch only.
Source§

impl UICoordinateSpace for UITabBar

Available on crate feature UITabBar only.
Source§

impl UICoordinateSpace for UITableView

Available on crate feature UITableView only.
Source§

impl UICoordinateSpace for UITableViewCell

Available on crate feature UITableViewCell only.
Source§

impl UICoordinateSpace for UITableViewHeaderFooterView

Available on crate feature UITableViewHeaderFooterView only.
Source§

impl UICoordinateSpace for UITextField

Available on crate feature UITextField only.
Source§

impl UICoordinateSpace for UITextView

Available on crate feature UITextView only.
Source§

impl UICoordinateSpace for UIToolbar

Available on crate feature UIToolbar only.
Source§

impl UICoordinateSpace for UIView

Source§

impl UICoordinateSpace for UIVisualEffectView

Available on crate feature UIVisualEffectView only.
Source§

impl UICoordinateSpace for UIWebView

Available on crate feature UIWebView only.
Source§

impl UICoordinateSpace for UIWindow

Available on crate feature UIWindow only.