Trait icrate::GameController::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§