Trait GCButtonElement

Source
pub unsafe trait GCButtonElement: GCPhysicalInputElement {
    // Provided methods
    unsafe fn pressedInput(&self) -> Id<AnyObject>
       where Self: Sized + Message { ... }
    unsafe fn touchedInput(
        &self,
    ) -> Option<Id<ProtocolObject<dyn GCTouchedStateInput>>>
       where Self: Sized + Message { ... }
}
👎Deprecated: icrate::GameController has been moved to objc2-game-controller
Available on crate feature GameController only.

Provided Methods§

Source

unsafe fn pressedInput(&self) -> Id<AnyObject>
where Self: Sized + Message,

👎Deprecated: icrate::GameController has been moved to objc2-game-controller
Source

unsafe fn touchedInput( &self, ) -> Option<Id<ProtocolObject<dyn GCTouchedStateInput>>>
where Self: Sized + Message,

👎Deprecated: icrate::GameController has been moved to objc2-game-controller

Trait Implementations§

Source§

impl ProtocolType for dyn GCButtonElement

Source§

const NAME: &'static str = "GCButtonElement"

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 GCButtonElement

Implementations on Foreign Types§

Source§

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

Implementors§