pub unsafe trait GCDevicePhysicalInput: GCDevicePhysicalInputState {
    // Provided methods
    unsafe fn device(&self) -> Option<Id<ProtocolObject<dyn GCDevice>>>
       where Self: Sized + Message { ... }
    unsafe fn elementValueDidChangeHandler(
        &self
    ) -> *mut Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>, NonNull<ProtocolObject<dyn GCPhysicalInputElement>>)>
       where Self: Sized + Message { ... }
    unsafe fn setElementValueDidChangeHandler(
        &self,
        element_value_did_change_handler: Option<&Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>, NonNull<ProtocolObject<dyn GCPhysicalInputElement>>)>>
    )
       where Self: Sized + Message { ... }
    unsafe fn capture(
        &self
    ) -> Id<ProtocolObject<dyn GCDevicePhysicalInputState>>
       where Self: Sized + Message { ... }
    unsafe fn inputStateAvailableHandler(
        &self
    ) -> *mut Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>)>
       where Self: Sized + Message { ... }
    unsafe fn setInputStateAvailableHandler(
        &self,
        input_state_available_handler: Option<&Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>)>>
    )
       where Self: Sized + Message { ... }
    unsafe fn inputStateQueueDepth(&self) -> NSInteger
       where Self: Sized + Message { ... }
    unsafe fn setInputStateQueueDepth(&self, input_state_queue_depth: NSInteger)
       where Self: Sized + Message { ... }
    unsafe fn nextInputState(&self) -> Option<Id<TodoProtocols>>
       where Self: Sized + Message { ... }
}
Available on crate features GCDevicePhysicalInput and 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 elementValueDidChangeHandler( &self ) -> *mut Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>, NonNull<ProtocolObject<dyn GCPhysicalInputElement>>)>
where Self: Sized + Message,

Available on crate features GCPhysicalInputElement and block2 only.
source

unsafe fn setElementValueDidChangeHandler( &self, element_value_did_change_handler: Option<&Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>, NonNull<ProtocolObject<dyn GCPhysicalInputElement>>)>> )
where Self: Sized + Message,

Available on crate features GCPhysicalInputElement and block2 only.
source

unsafe fn capture(&self) -> Id<ProtocolObject<dyn GCDevicePhysicalInputState>>
where Self: Sized + Message,

source

unsafe fn inputStateAvailableHandler( &self ) -> *mut Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>)>
where Self: Sized + Message,

Available on crate feature block2 only.
source

unsafe fn setInputStateAvailableHandler( &self, input_state_available_handler: Option<&Block<dyn Fn(NonNull<ProtocolObject<dyn GCDevicePhysicalInput>>)>> )
where Self: Sized + Message,

Available on crate feature block2 only.
source

unsafe fn inputStateQueueDepth(&self) -> NSInteger
where Self: Sized + Message,

source

unsafe fn setInputStateQueueDepth(&self, input_state_queue_depth: NSInteger)
where Self: Sized + Message,

source

unsafe fn nextInputState(&self) -> Option<Id<TodoProtocols>>
where Self: Sized + Message,

Available on crate feature GCDevicePhysicalInputStateDiff only.

Trait Implementations§

source§

impl ProtocolType for dyn GCDevicePhysicalInput

source§

const NAME: &'static str = "GCDevicePhysicalInput"

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 GCDevicePhysicalInput

Implementations on Foreign Types§

source§

impl<T> GCDevicePhysicalInput for ProtocolObject<T>

Implementors§

source§

impl GCDevicePhysicalInput for GCControllerLiveInput

Available on crate feature GCControllerInput only.
source§

impl GCDevicePhysicalInput for GCRacingWheelInput

Available on crate feature GCRacingWheelInput only.