pub unsafe trait GCDevicePhysicalInputState: NSObjectProtocol {
    // Provided methods
    unsafe fn device(&self) -> Option<Id<ProtocolObject<dyn GCDevice>>>
       where Self: Sized + Message { ... }
    unsafe fn lastEventTimestamp(&self) -> NSTimeInterval
       where Self: Sized + Message { ... }
    unsafe fn lastEventLatency(&self) -> NSTimeInterval
       where Self: Sized + Message { ... }
    unsafe fn elements(
        &self
    ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCPhysicalInputElement>>>
       where Self: Sized + Message { ... }
    unsafe fn buttons(
        &self
    ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCButtonElement>>>
       where Self: Sized + Message { ... }
    unsafe fn axes(
        &self
    ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCAxisElement>>>
       where Self: Sized + Message { ... }
    unsafe fn switches(
        &self
    ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCSwitchElement>>>
       where Self: Sized + Message { ... }
    unsafe fn dpads(
        &self
    ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCDirectionPadElement>>>
       where Self: Sized + Message { ... }
    unsafe fn objectForKeyedSubscript(
        &self,
        key: &NSString
    ) -> Option<Id<ProtocolObject<dyn GCPhysicalInputElement>>>
       where Self: Sized + Message { ... }
}
Available on crate feature GCDevicePhysicalInputState only.

Provided Methods§

source

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

Available on crate feature GCDevice only.
source

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

source

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

source

unsafe fn elements( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCPhysicalInputElement>>>
where Self: Sized + Message,

Available on crate features GCInputNames and GCPhysicalInputElement only.
source

unsafe fn buttons( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCButtonElement>>>
where Self: Sized + Message,

Available on crate features GCButtonElement and GCInputNames and GCPhysicalInputElement only.
source

unsafe fn axes( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCAxisElement>>>
where Self: Sized + Message,

Available on crate features GCAxisElement and GCInputNames and GCPhysicalInputElement only.
source

unsafe fn switches( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCSwitchElement>>>
where Self: Sized + Message,

Available on crate features GCInputNames and GCPhysicalInputElement and GCSwitchElement only.
source

unsafe fn dpads( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCDirectionPadElement>>>
where Self: Sized + Message,

Available on crate features GCDirectionPadElement and GCInputNames and GCPhysicalInputElement only.
source

unsafe fn objectForKeyedSubscript( &self, key: &NSString ) -> Option<Id<ProtocolObject<dyn GCPhysicalInputElement>>>
where Self: Sized + Message,

Available on crate feature GCPhysicalInputElement only.

Trait Implementations§

source§

impl ProtocolType for dyn GCDevicePhysicalInputState

source§

const NAME: &'static str = "GCDevicePhysicalInputState"

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 GCDevicePhysicalInputState

Implementations on Foreign Types§

source§

impl<T> GCDevicePhysicalInputState for ProtocolObject<T>

Implementors§

source§

impl GCDevicePhysicalInputState for GCControllerInputState

Available on crate feature GCControllerInput only.
source§

impl GCDevicePhysicalInputState for GCControllerLiveInput

Available on crate feature GCControllerInput only.
source§

impl GCDevicePhysicalInputState for GCRacingWheelInput

Available on crate feature GCRacingWheelInput only.
source§

impl GCDevicePhysicalInputState for GCRacingWheelInputState

Available on crate feature GCRacingWheelInput only.