pub unsafe trait UISpringLoadedInteractionContext: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn state(&self) -> UISpringLoadedInteractionEffectState
       where Self: Sized + Message { ... }
    unsafe fn targetView(&self) -> Option<Retained<UIView>>
       where Self: Sized + Message { ... }
    unsafe fn setTargetView(&self, target_view: Option<&UIView>)
       where Self: Sized + Message { ... }
    unsafe fn targetItem(&self) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn setTargetItem(&self, target_item: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn locationInView(&self, view: Option<&UIView>) -> CGPoint
       where Self: Sized + Message { ... }
}
Available on crate feature UISpringLoadedInteraction only.

Provided Methods§

source

unsafe fn state(&self) -> UISpringLoadedInteractionEffectState
where Self: Sized + Message,

source

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

Available on crate features UIResponder and UIView only.
source

unsafe fn setTargetView(&self, target_view: Option<&UIView>)
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
source

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

source

unsafe fn setTargetItem(&self, target_item: Option<&AnyObject>)
where Self: Sized + Message,

source

unsafe fn locationInView(&self, view: Option<&UIView>) -> CGPoint
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UISpringLoadedInteractionContext

source§

const NAME: &'static str = "UISpringLoadedInteractionContext"

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 UISpringLoadedInteractionContext

Implementations on Foreign Types§

source§

impl<T> UISpringLoadedInteractionContext for ProtocolObject<T>

Implementors§