Trait icrate::GameController::GCTouchedStateInput

source ·
pub unsafe trait GCTouchedStateInput: NSObjectProtocol {
    // Provided methods
    unsafe fn touchedDidChangeHandler(
        &self
    ) -> *mut Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCTouchedStateInput>>, Bool), ()>
       where Self: Sized + Message { ... }
    unsafe fn setTouchedDidChangeHandler(
        &self,
        touched_did_change_handler: Option<&Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCTouchedStateInput>>, Bool), ()>>
    )
       where Self: Sized + Message { ... }
    unsafe fn isTouched(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn lastTouchedStateTimestamp(&self) -> NSTimeInterval
       where Self: Sized + Message { ... }
    unsafe fn lastTouchedStateLatency(&self) -> NSTimeInterval
       where Self: Sized + Message { ... }
    unsafe fn sources(
        &self
    ) -> Id<NSSet<ProtocolObject<dyn GCPhysicalInputSource>>>
       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 touchedDidChangeHandler( &self ) -> *mut Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCTouchedStateInput>>, Bool), ()>
where Self: Sized + Message,

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

unsafe fn setTouchedDidChangeHandler( &self, touched_did_change_handler: Option<&Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCTouchedStateInput>>, Bool), ()>> )
where Self: Sized + Message,

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

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

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

unsafe fn lastTouchedStateTimestamp(&self) -> NSTimeInterval
where Self: Sized + Message,

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

unsafe fn lastTouchedStateLatency(&self) -> NSTimeInterval
where Self: Sized + Message,

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

unsafe fn sources(&self) -> Id<NSSet<ProtocolObject<dyn GCPhysicalInputSource>>>
where Self: Sized + Message,

👎Deprecated: icrate::GameController has been moved to objc2-game-controller
Available on crate feature Foundation_NSSet only.

Trait Implementations§

source§

impl ProtocolType for dyn GCTouchedStateInput

source§

const NAME: &'static str = "GCTouchedStateInput"

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 GCTouchedStateInput

Implementations on Foreign Types§

source§

impl<T> GCTouchedStateInput for ProtocolObject<T>

Implementors§